only()
Creates a new object with only the specified keys copied from the specified object to this new object.
This function is valid in v2.14.2 to v2.24.3. This function has been downloaded 60 times.undefined
this indicates that a partial function will be returned. Otherwise this is the object from which the properties should be copied.true
-ish the key/value pair will be copied to the new object.{}
opt_subject
was given opt_initial
with the specified keys copied into it will be returned. Otherwise a partial function will be returned which will accept (1) the mandatory object from which to copy the properties and (2) the optional initial object that will be augmented and returned.This function directly requires the following functions which are included automatically:
entries()
has()