@wtasnorg/node-lib / indexAnyString
indexAnyString(
s,chars):number
Defined in: src/strings.ts:493
IndexAny returns the index of the first instance of any Unicode code point from chars in s, or -1 if no Unicode code point from chars is present in s.
string
Input string.
string
String of characters to search for.
number
Index of first matching character, or -1.