Skip to content

function_endsWith

Wesley de Groot edited this page Jul 31, 2018 · 37 revisions
                     _    _____ 
                    | |  / ____|
                    | |  | (___ 
                _   | |  \___  \
 ______    _   | |__| |  ____) |
|______|  (_)   \____/  |______/
                    v1.0.0 Final

Function endsWith

_.endsWith(str, pattern)



endsWith does a string ends With the thing?


🌍 Universal function

This function is for the Command Line Interface and Websites!


Parameter list

Type @var Description Required
object [object] Wrapper Optional
string str the string Required
string pattern the pattern Required

Example:

_.endsWith('hi, i am wesley', 'wesley')


Returns:

bool




Back to function list
Clone this wiki locally