keys

get list of keys for given collection


Parameters

keys dictionary :dictionary :object

Returns

  • :block

Examples

copy
user: #[ name: "John" surname: "Doe" ] keys user => ["name" "surname"]

Related