• 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.

    Parameters

    • n: number

      The number to check.

    • start: number

      The start of the range.

    • Optionalend: number

      The end of the range.

    Returns boolean

    Returns true if n is in the range, else false.