all.all

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

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