getAllKeys<T>
Gets all keys of an object. Includes fields and properties.
Import:
import { getAllKeys } from '@mnaoumov/typescript-lib/object-utils';Signature:
function getAllKeys($object: T): StringKeys<T>[]Parameters:
| Parameter | Type | Description |
|---|---|---|
$object |
T |
Returns: StringKeys<T>[] — An array of all keys of the object.