Pointless API Docs

pointless/prelude/dict.ptls (source)


delKey(dict, key) link
Remove an entry from a dict

toDict(object) link
Convert an object to a dict of strings (field names) to values (field values)

keys(dict) link
Get a list of the keys in a dict

vals(dict) link
Get a list of the values in a dict

items(dict) link
Get (key, value) tuples for each entry in a dict

fromItems(pairs) link
Make a dict from a list of (key, value) tuples pairs

getDefault(dict, default, key) link
Get value for a given key if present in dict, otherwise default