@extremejs/utils - v1.0.0-beta.23
    Preparing search index...

    Function ownKeys

    • Returns the direct properties of the value based on Object.getOwnPropertyNames result.

      Parameters

      • value: RecordT

        The object that contains the own properties.

      Returns PropertyKey[]

      The direct properties.

      1.0.0

      ownKeys({ a: 2 }); // => "a"