Skip to content

function_endsWith

Wesley de Groot edited this page Oct 23, 2015 · 37 revisions
            	     _    _____ 
        	        | |  / ____|
    	            | |  | (___ 
	            _   | |  \___  \
 ______    _   | |__| |  ____) |
|______|  (_)   \____/  |______/

Function endsWith

_('.wrapper').endsWith(str,pattern)


endsWith does a string ends With the thing?

  • @param object [object] Wrapper
  • @param string str the string
  • @param string pattern the pattern
  • @return bool
  • @example _.endsWith('hi, i am wesley', 'wesley');

Parameter list

Type @var Description Required
object [object] Wrapper Optional
string str the Required
string pattern the Required
##### Example: `_.endsWith('hi, i am wesley', 'wesley');`

Returns:

Array



Back to function list

Clone this wiki locally