Send Feedback
Skip to content

attr

Attribute of an object

attr x     attr[x]

Where x is any object, returns its attribute as a symbol atom.

The possible attributes are:

code attribute
`s sorted
`u unique
`p parted
`g grouped

A null symbol result ` means no attributes are set on x.

q)attr 1 3 4
`
q)attr asc 1 3 4
`s

For more information on each of the attributes, please refer to the documentation pages in the footer.


Set Attribute

Metadata
Q for Mortals §8.9 Attributes