Skip to content

Commit fb57a7b

Browse files
committed
cleanup: remove unused util function
1 parent 06e0c4b commit fb57a7b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/utils.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -218,14 +218,3 @@ export function isInvalid(parsedJson: unknown) {
218218
return parsedJson === Infinity ||
219219
parsedJson === -Infinity;
220220
}
221-
222-
/**
223-
* Helper function that checks if the provided regex matches any of the provided strings
224-
*/
225-
export function anyKeysMatch(keys: string[], regex: RegExp) {
226-
for (const key of keys) {
227-
if (key.match(regex))
228-
return key;
229-
}
230-
return false;
231-
}

0 commit comments

Comments
 (0)