Function isObject

  • Returns whether value is not a primitive.

    This function is only useful for the type check, you can do Object(v) === v otherwise.

    Parameters

    • value: unknown

    Returns value is object