Open EugZol opened 1 week ago
Something similar has been discussed in the past using the delete
keyword in the context of member predicates for amending Listings/Mappings. In terms of naming, I'm personally partial to omit
, which is what Ansible uses for a similar action.
Currently in the language reference the following solution for removing fields is recommended:
Instead, create a built-in singleton value
absent
(similar tonull
), which would remove the corresponding member from the object: