crow/flags-util.crow (source)

flags-like[t] spec t equal

is-in[t] bool(a t, b t) bare, t flags-like

True if every flag set in a is set in b.

to[t] symbol array(a t) t flags-like

Returns the names of every flag set in a.

to[t] string(a t) t flags-like

Flag names separated by |, like "foo | bar".

to[t] json(a t) t flags-like