applyToKey
Applies the transformation to the value corresponding to the given key or null instead if it's not present.
Return
result of the transformation
Parameters
key
key to check.
transform
transformation to apply.
Applies the transformation to the value corresponding to the given key or null instead if it's not present.
result of the transformation
key to check.
transformation to apply.