any.any

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

Parameters

slices Slices

One or more slices, ranges, and arrays.

Return Value

Type: bool

true if the search was successful and false otherwise. Constraints: All slices must have the same shape.

Meta