The OpenD Programming Language

all.all

template all(alias pred = "a")
static if(__traits(isSame, naryFun!pred, pred))
bool
all
(
Slices...
)
(
Slices slices
)
if (
(
Slices.length == 1 ||
!__traits(isSame, pred, "a")
)
&&
Slices.length
)

Parameters

slices Slices

One or more slices.

Return Value

Type: bool

true all of the elements verify pred and false otherwise. Constraints: All slices must have the same shape.

Meta