values
values of a dict or list
(any subject) -> list
If subject
is a dict, returns a list of contained values - value order is undefined.
If subject
is a list, returns subject
.
Returns nil
if subject
is nil
Throws an error if subject
is of any other type.
Parameters
Name | Type | Description |
---|---|---|
subject |
dict or list | The dict or list to work with |