Options
All
  • Public
  • Public/Protected
  • All
Menu

Module isObjectLike

Index

References

Functions Lang

References

Renames and re-exports isObjectLike

Lang Functions

  • isObjectLike(value: any): boolean
  • Checks if value is object-like. A value is object-like if it's not null and has a typeof result of "object".

    since

    5.3.0

    example
    isObjectLike({})
    // => true

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

    isObjectLike(Function)
    // => false

    isObjectLike(null)
    // => false

    Parameters

    • value: any

      The value to check.

    Returns boolean

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