Function isObject

  • Checks if an argument is an object. Applies type narrowing in typescript.

    Parameters

    • arg: unknown

      argument to check

    Returns arg is {
        [k: Key]: any;
    }

    true if argument is an object

Generated using TypeDoc