urbit/pub/docs/dev/hoon/runes/wt/wtgr.md
Galen Wolfe-Pauly bb495844be doc -> docs
2015-10-20 10:51:45 -07:00

523 B

wutgar, ?>, %wtgr

Assert yes

?> is a synthetic rune that produces q, asserting that p is yes (&, 0).

See also

wutgal, ?<, %wtgl

Produces

Twig: [%wtgr p=twig q=twig]

Sample

p and q are twigs.

Tall form

?>  p
    q

Wide form

?>(p q)

Irregular form

None

Examples

~zod/try=> ?>(=(0x1 1) %foo)
%foo
~zod/try=> ?>(=(0x1 0) %foo)
! exit