* Finds the index of a string in the $objects array
(objects: unknown[], value: string)
| 63 | * Finds the index of a string in the $objects array |
| 64 | */ |
| 65 | function findStringIndex(objects: unknown[], value: string): number { |
| 66 | return objects.findIndex((obj) => obj === value); |
| 67 | } |
| 68 | |
| 69 | /** |
| 70 | * Finds a dictionary that has the given key index in its NS.keys array |
no outgoing calls
no test coverage detected