jty
    Preparing search index...

    Function hasOwnPath

    • Similar to hasPath but only works for own properties (not inherited properties)

      Type Parameters

      • K extends readonly PropertyKey[]

      Parameters

      • x: unknown

        a value that may possibly have some properties

      • ...propNames: readonly [K]

        one or more property names

      Returns x is DeepRecord<K, object>