StrEndsWith
System · system operation · implicitly imported
Checks whether a String ends with another String.
Parameters
String findIn— The String to check.String toFind— The suffix to look for.Bool ignoreCase = false— Whentrue, the comparison ignores case.
Returns
Bool — true if findIn ends with toFind.
Errors
A runtime type error if findIn or toFind is not a String, or ignoreCase is not a Bool.