@alextheman/utility - v4.3.5
    Preparing search index...

    Function getRecordKeys

    • Gets the keys from a given record object, properly typed to be an array of the key of the input object's type.

      Type Parameters

      • InputRecordType extends Record<RecordKey, unknown>

        The type of the input object.

      Parameters

      Returns (keyof InputRecordType)[]

      An array with all the keys of the input object in string form, but properly typed as keyof InputRecordType.