mir_series.tryGetLast

Tries to get the last value, such that lowerBound <= key_i <= upperBound.

  1. bool tryGetLast(Index lowerBound, Index upperBound, Value val)
    struct mir_series(IndexIterator_, Iterator_, size_t N_ = 1, SliceKind kind_ = Contiguous)
    @trusted
    @optmath
    bool
    tryGetLast
    (
    Index
    Value
    )
    (,
    auto ref scope const Index upperBound
    ,
    scope ref Value val
    )
  2. bool tryGetLast(Index lowerBound, Index upperBound, Value val)
  3. bool tryGetLast(Index lowerBound, Index upperBound, Value val)

Return Value

Type: bool

true on success.

Meta