Lodash.every

Checks if predicate returns truthy for all elements of collection. Iteration is stopped once predicate returns falsey. The predicate is invoked with three arguments: (value, index|key, collection).

Note: This method returns true for empty collections because everything is true of elements of empty collections.

struct Lodash
nothrow @trusted @safe ref
every
(
T = Any
)
(
auto ref T predicate = T.init
)

Return Value

Type: auto ref

- Lodash chained on (boolean): true if all elements pass the predicate check, else false.

Meta