Remove unused constant
This commit is contained in:
parent
4fd0118ac1
commit
23a242fc16
@ -1,5 +1,4 @@
|
||||
export function assertArrayOfStrings(arr: unknown) {
|
||||
const arrName = Object.keys({ arr })[0];
|
||||
if (!Array.isArray(arr)) return false;
|
||||
if (!arr.every((item: unknown) => typeof item === "string")) return false;
|
||||
return true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user