getEntryValue()function

getEntryValue([, v]: Entry<K, T>): T
ParamType
entryEntry<K, T>
The [key, value] entry to read from. required
Return
T
The value (second element) of the entry.

Extract the value from an object entry.

Examples

getEntryValue(["a", 1]) // 1