Str::endsWith()
Checks if a string ends with the passed needle
Parameters
Name | Type | Default |
---|---|---|
$string * | string |null |
– |
$needle * | string |
– |
$caseInsensitive | bool |
false |
Return type
bool
Checks if a string ends with the passed needle
Name | Type | Default |
---|---|---|
$string * | string |null |
– |
$needle * | string |
– |
$caseInsensitive | bool |
false |
bool