Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

Const isArray

  • isArray(val: unknown): boolean
  • Checks if the given value is an array using native Array.isArray.

    example

    isArray([]); // true isArray('not array'); // false

    Parameters

    • val: unknown

      The value to check.

    Returns boolean

    Whether the value is an array.

Legend

  • Function

Generated using TypeDoc