Edit this page

up.util up.util.pluckKey(object, key)
JavaScript function

This feature is experimental. It may be changed or removed in a future version.

Deletes the property with the given key from the given object and returns its value.

Parameters

object Object
key string

Return value

any