del multimethod

Methods

del(h:Hash, k:Any)
Delete hash key. Throws KeyNotFound if k is not in h. WARNING: this method will probably be renamed to "delete" in future versions.

Parameters

hTarget hash
kKey

Returns

h

Example

h={"a": 1}; h.del("a"); h  # {}
h={}; h.del("a"); # KeyNotFound exception
h={"a": 1, "b": 2}; h.del("a"); h  # {"b": 2}
del(hl:HashLike, k:Any) Source: stdlib.ngs:2098
Remove k from hl

Returns

hl
del(t:TmpFsObj, kcp:KeepCleanupPolicy, e:Box) Source: stdlib.ngs:5890
Undocumented
del(t:TmpFsObj, rcp:RemoveCleanupPolicy, e:Box) Source: stdlib.ngs:5895
Undocumented
del(t:TmpFsObj, koecp:KeepOnErrorCleanupPolicy, e:Box) Source: stdlib.ngs:5905
Undocumented