The string to search in
A function that takes a needle (substring) and returns true if it's in the haystack
elemOfStr('abc')('a') // true
elemOfStr('abc')('ab') // true
elemOfStr('abc')('d') // false
opt('ab').exists(elemOfStr('abc')) // true
Generated using TypeDoc
Checks if a substring is in a string.