Function isObjectOrArray

  • Simple object check.

    Parameters

    • item: unknown

    Returns item is any[] | Record<any, any>