MCPcopy Create free account
hub / github.com/darkreader/darkreader / isNonEmptyArrayOfNonEmptyStrings

Function isNonEmptyArrayOfNonEmptyStrings

src/utils/validation.ts:26–28  ·  view source on GitHub ↗
(x: any)

Source from the content-addressed store, hash-verified

24}
25
26function isNonEmptyArrayOfNonEmptyStrings(x: any): x is any[] {
27 return Array.isArray(x) && x.length > 0 && x.every((s) => isNonEmptyString(s));
28}
29
30function isRegExpMatch(regexp: RegExp) {
31 return (x: any): x is string => {

Callers

nothing calls this directly

Calls 1

isNonEmptyStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…