Function isObject

  • Checks if a given value is an object.

    Example

    isObject({})
    // => false

    isObject(['hello', 'world])
    // => true

    isObject(10)
    // => false

    Type Parameters

    • T

      The type of the object.

    Parameters

    • value: T

      The value to be checked.

    Returns value is T

    true if the given value is an object, false otherwise.

Generated using TypeDoc v0.24.7