Skip to main content

CommonObjectIsSubset

Callable

  • CommonObjectIsSubset<T>(subRec: unknown, superRec: T): subRec is Partial<T>

  • Return if the key/value pairs of subRec form a subset of superRec


    Type parameters

    • T

    Parameters

    • subRec: unknown
    • superRec: T

    Returns subRec is Partial<T>