Function: objectToTuples()
objectToTuples<
T>(obj:T,prefix:string): [keyofT,T[keyofT]][]
Defined in: objectToTuples.ts:8
Convert an object to a tuple
Type Parameters
| Type Parameter | 
|---|
| Textendsobject | 
Parameters
| Parameter | Type | Default value | Description | 
|---|---|---|---|
| obj | T | undefined | The object to convert | 
| prefix | string | '' | The prefix for the key | 
Returns
[keyof T, T[keyof T]][]