Skip to content

flbeta_function_startsWith

Wesley de Groot edited this page Oct 26, 2015 · 34 revisions
                     _          
                    (_)         
            	     _    _____ 
        	        | |  / ____|
    	            | |  | (___ 
	            _   | |  \___  \
 ______    _   | |__| |  ____) |
|______|  (_)   \____/  |______/
                     v0.0.7 Beta

Function startsWith

_.startsWith(str,pattern)



startsWith does a string starts With the thing?

Parameter list

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

Example:

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


Returns:

bool




[Back to function list](https://github.com/wesdegroot/_.js/wiki/Function%20List%20(Beta))
Clone this wiki locally