Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

Const isFloat

  • isFloat(num: number): boolean
  • Checks if the given number is a float.

    example

    isFloat(13.45); // true isFloat(13); // false

    Parameters

    • num: number

      The number to check.

    Returns boolean

    Whether the number is a float.

Legend

  • Function

Generated using TypeDoc