• Returns true if the given argument is a plain object

    Example

    isPlainObject(2); // false
    

    Example

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

    Parameters

    • arg: unknown

    Returns arg is Record<string, unknown>

Generated using TypeDoc