Type alias EntryKey<Input>

EntryKey<Input>: Input[0]

Key of an Entry.

Example

const entry: Entry<string, number> = ["🟢", 1];
const entryKey: EntryKey<typeof entry> = entry[0];

Type Parameters