Function isObject

  • Checks if the provided value is an object (null, arrays and functions not included).

    Parameters

    • value: unknown

      The value to check.

    Returns boolean

    A boolean indicating whether the provided value is an object.

    Example

    isObject({});;
    //=> true
    isObject([1]);;
    //=> false
    isObject(123);;
    //=> false

Generated using TypeDoc