Puts the property value indicated by the given selector into the object
const obj = { selector: { to: { val: 'val to select' } } };set(obj, 'selector.to.val', 'new value');// obj -> { selector: { to: { val: 'new value' } } }
Generated using TypeDoc
Puts the property value indicated by the given selector into the object
Example