Options
All
  • Public
  • Public/Protected
  • All
Menu

Module isArrayLikeObject

Index

Functions Lang

Lang Functions

  • default(value: any): boolean
  • This method is like isArrayLike except that it also checks if value is an object.

    since

    5.5.0

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

    isArrayLikeObject(document.body.children)
    // => true

    isArrayLikeObject('abc')
    // => false

    isArrayLikeObject(Function)
    // => false

    Parameters

    • value: any

      The value to check.

    Returns boolean

    Returns true if value is an array-like object, else false.