Skip to main content

CommonIsObject

Callable

  • CommonIsObject(value: unknown): value is Record<string, unknown>

  • Type guard which checks that a value is a simple object (i.e. a non-null object which is not an array)


    Parameters

    • value: unknown

      The value to test

    Returns value is Record<string, unknown>