<-Back

Function: Remove-Plist-Entry

REMOVE-PLIST-ENTRY plist

Returns a new plist sans any key/value pairs where the plist key is eql to the given key. Optionally a different test than #'eql can be specified with the :test keyword argument.

arguments:
plist Plist
The source plist
key matching key, typically a keyword symbol
The key to target for removal
keyword arguments:
test predicate equality function taking two arguments, Default Value: #'EQL
The function to use for matching
examples:
(remove-plist-entry (list :a "a" :b :a) :a)

<-Back