ts-utils
    Preparing search index...

    Function keysOf

    • Returns the names of the enumerable string properties and methods of an object. (Note: This is just a typed wrapper around the native Object.keys method)

      Type Parameters

      • Key extends string | number | symbol

        Type of the keys that composed the source.

      Parameters

      • source: Readonly<Record<Key, unknown>>

        Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.

      Returns Key[]

      An array of keys.