Skip to content

hasAll

hasAll(target, source)

Checks if target string contains all strings from the source iterable.

ts
hasAll("hello world", ["hello", "world"]); // true
ts
pipe("hello world", hasAll(["hello", "world"])); // true