equal.equal

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

Parameters

slices Slices

Two or more ndslices, ranges, and arrays.

Return Value

Type: bool

true any of the elements verify pred and false otherwise.

Meta