Higher order function to get a key from an object
function that retrieves the key from an object
getKey('name')({ name: 'John' }) === 'John'
the key to retrieve
Generated using TypeDoc
Higher order function to get a key from an object
Returns
function that retrieves the key from an object
Example