Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

Const isDate

  • isDate(val: unknown): boolean
  • Checks if the given value is a date object.

    example

    isDate(new Date()); // true isDate('not date'); // false

    Parameters

    • val: unknown

      The value to check.

    Returns boolean

    Whether the value is a date object.

Legend

  • Function

Generated using TypeDoc