urbit/base/pub/doc/hoon/runes/wt/wtts.md

46 lines
527 B
Markdown
Raw Normal View History

[wuttis, `?=`, %wtts](#wtts)
============================
Is in tile
`?=` is a natural hoon that produces true if the leg at wing `q` is in
tile `p`.
Produces
--------
Twig: `[%wtts p=tile q=wing]`
Sample
------
`p` is a [tile](). `q` is a [`++wing`]().
Tall form
---------
?= p
q
Wide form
---------
?=(p q)
Irregular form
--------------
None
Examples
--------
~zod/try=> ?=(@ 'a')
%.y
~zod/try=> ?=(^ 'a')
%.n
~zod/try=> ?=(%b 'a')
%.n
~zod/try=> ?=(%a 'a')
%.y