Checks whether the string ends with any of the provided search values.
The string value to be checked.
An array-like list of values to check at the end of the string.
Optional
If provided, it is used as the length of value. Defaults to value.length.
True if any value matches at the end; otherwise false.
0.14.0
TypeError If value is null or undefined.
Checks whether the string ends with any of the provided search values.