~/forever/addon-api/function/string.endswith
string.endswith
documented function · LuaStringExtensions
string.endswith(str, suffix) : endsWithReturns true if a string ends with the specified suffix.
──ARGUMENTS
- str
- stringView (The string to inspect.)
- suffix
- stringView (The suffix for which to search.)
──RETURNS
- endsWith
- bool (True if the string ends with the specified suffix; otherwise false.)
──DETAILS
- Secret Arguments
- AllowedWhenUntainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.