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