Lodash.inRange

Checks if n is between start and up to, but not including, end. If end is not specified, it's set to start with start then set to 0. If start is greater than end the params are swapped to support negative ranges.

  1. auto ref inRange(T start, U end)
    struct Lodash
    nothrow @trusted @safe ref
    inRange
    (
    T
    U
    )
    (
    auto ref T start
    ,
    auto ref U end
    )
  2. auto ref inRange(T end)

Return Value

Type: auto ref

- Lodash chained on (boolean): true if number is in the range, else false

Meta