urbit/pub/doc/hoon/runes/zp/zpts.md
2015-06-19 17:16:48 -04:00

770 B

zaptis, !=, %zpts

Show nock

!= is a natural hoon that produces the formula of twig p as a noun.

Produces

Twig: [%zpts p=twig]

Sample

p is a twig.

Tall form

!=  p

Wide form

!=(p)

Irregular form

None

Examples

~zod/try=> !=(20)
[1 20]
~zod/try=> !=(~zod)
[1 0]
~zod/try=> !=((add 2 2))
[8 [9 3.110.356 0 31] 9 2 [0 4] [7 [0 3] 1 2 2] 0 11]
~zod/try=> !=(|=(a=@ [a a]))
[8 [1 0] [1 [0 6] 0 6] 0 1]
~zod/try=> !=(+(2))
[4 1 2]
~zod/try=> !=(.?(2))
[3 1 2]
~zod/try=> !=(.*(~ 2))
[2 [1 0] 1 2]
~zod/try=> !=(2)
[1 2]
~zod/try=> !=(.)
[0 1]
~zod/try=> !=(!!)
[0 0]