Skip to content

flbeta_function_endsWith

Wesley de Groot edited this page Nov 5, 2017 · 34 revisions
                     _          
                    (_)         
                     _    _____ 
                    | |  / ____|
                    | |  | (___ 
                _   | |  \___  \
 ______    _   | |__| |  ____) |
|______|  (_)   \____/  |______/
                     v0.1.0 Beta

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](https://github.com/wdg/_.js/wiki/Function%20List%20(Beta))
Clone this wiki locally