* Returns the first index at which a given code point can be found * and -1 if not found. * @param {number} codePoint Unicode code point to search for * @param {number} [start] Index to start the search at * @return {number} Code point index; -1 if not found
(codePoint, start = undefined)
| 277 | * @return {number} Code point index; -1 if not found |
| 278 | */ |
| 279 | indexOfCodePoint (codePoint, start = undefined) { |
| 280 | return this.getCodePoints().indexOf(codePoint, start) |
| 281 | } |
| 282 | |
| 283 | /** |
| 284 | * Returns the first index at which a given string can be found |
no test coverage detected