Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 279 Bytes

starts_with.md

File metadata and controls

16 lines (9 loc) · 279 Bytes

starts_with

boolean starts_with(string source, string prefix)

Returns true if the source string starts with the prefix string, otherwise false.

It is a type error if

  • the provided source is not a string, or
  • the provided prefix is not a string

Examples