Last active
August 29, 2015 14:04
-
-
Save owskio/28ed38e2c5c52430e09d to your computer and use it in GitHub Desktop.
Nice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ... | |
contains = function (haystack,needle) { | |
//NOTE: Case-Insensitive | |
return new RegExp(needle,'i').test(haystack); | |
}, | |
containedBy = flip(contains), | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment