Object or Array
the mutation callback, passing the value, key & oa and returns a new value.
Optionalkey: stringOptionaloa: object | any[]Optionalagreement: anyan agreement filter as in z.isAgree. If it is true, value is mutated, otherwise it's left intact. Note: isAgree allows "undefined" as a truthy filter value.
the mutated object or array
Mutates the
Valuefor each of theKeysof a given Object or ArrayExample: