Options
All
  • Public
  • Public/Protected
  • All
Menu

Module isArray

Index

References

Functions Lang

References

Renames and re-exports __type

Lang Functions

  • isArray(value: any): value is any[]
  • Checks if value is classified as an Array object.

    since

    5.5.0

    example
    isArray([1, 2, 3]);
    // => true

    isArray(document.body.children);
    // => false

    isArray('abc');
    // => false

    isArray(noop);
    // => false

    Parameters

    • value: any

      The value to check.

    Returns value is any[]

    Returns true if value is an array, else false.