Console
hyTags
Home
Home
Getting Started
Getting Started
Documentation
Documentation
string-has-prefix
Checks if a string starts with a specified prefix.
Parameter
Type
Description
self
string
String to check
prefix
string
Prefix to search for
return
bool
True if string starts with prefix, false otherwise