Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

Const isUnder

  • isUnder(num: number, max: number): boolean
  • Checks if the given number is less than the given maximum.

    example

    isUnder(2, 3); // true isUnder(3, 2); // false isUnder(3, 3); // false

    Parameters

    • num: number

      The number to check.

    • max: number

      The maximum value exclusive.

    Returns boolean

    Whether the number is less than the maximum.

Legend

  • Function

Generated using TypeDoc