@wtasnorg/node-lib / indexFuncString
indexFuncString(
s,f):number
Defined in: src/strings.ts:526
IndexFunc returns the index into s of the first Unicode code point satisfying f(c), or -1 if none do.
string
Input string.
(_ch) => boolean
Predicate function.
number
Index of first matching character, or -1.