urbit/base/pub/doc/hoon/runes/wt/wtgr.md
2015-04-29 18:48:45 -04:00

48 lines
541 B
Markdown

[wutgar, `?>`, %wtgr](#wtgr)
============================
Assert yes
`?>` is a synthetic rune that produces `q`, asserting that `p` is yes
(`&`, 0).
See also
--------
[wutgal, `?<`, %wtgl](#wtgl)
============================
Produces
--------
Twig: `[%wtgr p=twig q=twig]`
Sample
------
`p` and `q` are [twig]()s.
Tall form
---------
?> p
q
Wide form
---------
?>(p q)
Irregular form
--------------
None
Examples
--------
~zod/try=> ?>(=(0x1 1) %foo)
%foo
~zod/try=> ?>(=(0x1 0) %foo)
! exit