@s-libs/micro-dash
    Preparing search index...

    Function inRange

    • Checks if n is between start and up to, but not including, end. If start is greater than end the params are swapped to support negative ranges.

      Differences from lodash:

      • start and end are both required
      • does not coerce falsey bounds to 0

      Contribution to minified bundle size, when it is the only function imported:

      • Lodash: 1,736 bytes
      • Micro-dash: 116 bytes

      Parameters

      • number: number
      • start: number
      • end: number

      Returns boolean