• Returns true if the given argument is an object

    Example

    isObject(2); // false
    

    Example

    isObject({foo: 'bar'}); // true
    

    Parameters

    • arg: unknown

    Returns arg is Record<string, unknown>

Generated using TypeDoc