mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-24 07:26:51 +03:00
46 lines
527 B
Markdown
46 lines
527 B
Markdown
|
[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
|