@laserware/arcade
    Preparing search index...

    Type Alias KeysOf<T>

    KeysOf: Extract<keyof T, string>[]

    Extracts the string keys of the specified object into an array.

    Type Parameters

    • T extends Record<string, any>

      Object with keys to extract.

    The reason this isn't called StringKeysOf is because 99% of the time, I need the string keys to iterate over an object or access a value and I don't want to cast the key to a string.