Skip to content

flbeta_function_includes

Wesley de Groot edited this page May 2, 2017 · 34 revisions
            !             _          
                         (_)         
            	          _    _____ 
        	        | |  / ____|
    	            | |  | (___ 
	            _   | |  \___  \
 ______    _   | |__| |  ____) |
|______|  (_)   \____/  |______/
                     v0.0.8 Beta

Function includes

_.includes(str, pattern)



includes does a string includes 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:

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


Returns:

bool




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