isNotLike()
isNotLike(
a
): (arg
) =>boolean
Determine if second string is not like the first string/RegExp.
Parameters
a
The string/RegExp to use for testing.
string
| RegExp
Returns
Function
Parameters
arg
string
Returns
boolean
Remarks
pure function
Example
isNotLike(/[jt]s/)('.js'); // false
isNotLike(/[jt]s/)('.md'); // true