@@ -3,6 +3,9 @@ title: Blocks - Operators
33impact : HIGH
44---
55
6+ <!-- AUTO-GENERATED FILE. Do not edit manually.
7+ Edit packages/hikkaku/src/blocks and packages/skill/scripts/build-blocks.ts instead. -->
8+
69# Operators
710
811## add(a, b)
@@ -20,7 +23,7 @@ Example:
2023``` ts
2124import { add } from ' hikkaku/blocks'
2225
23- add ([[ true , () => {}]] as any , undefined as any )
26+ add (1 , 2 )
2427```
2528
2629## subtract(a, b)
@@ -38,7 +41,7 @@ Example:
3841``` ts
3942import { subtract } from ' hikkaku/blocks'
4043
41- subtract ([[ true , () => {}]] as any , undefined as any )
44+ subtract (5 , 3 )
4245```
4346
4447## multiply(a, b)
@@ -56,7 +59,7 @@ Example:
5659``` ts
5760import { multiply } from ' hikkaku/blocks'
5861
59- multiply ([[ true , () => {}]] as any , undefined as any )
62+ multiply (3 , 4 )
6063```
6164
6265## divide(a, b)
@@ -74,7 +77,7 @@ Example:
7477``` ts
7578import { divide } from ' hikkaku/blocks'
7679
77- divide ([[ true , () => {}]] as any , undefined as any )
80+ divide (10 , 2 )
7881```
7982
8083## lt(a, b)
@@ -92,7 +95,7 @@ Example:
9295``` ts
9396import { lt } from ' hikkaku/blocks'
9497
95- lt ([[ true , () => {}]] as any , undefined as any )
98+ lt (1 , 2 )
9699```
97100
98101## equals(a, b)
@@ -110,7 +113,7 @@ Example:
110113``` ts
111114import { equals } from ' hikkaku/blocks'
112115
113- equals ([[ true , () => {}]] as any , undefined as any )
116+ equals (5 , 5 )
114117```
115118
116119## gt(a, b)
@@ -128,7 +131,7 @@ Example:
128131``` ts
129132import { gt } from ' hikkaku/blocks'
130133
131- gt ([[ true , () => {}]] as any , undefined as any )
134+ gt (10 , 5 )
132135```
133136
134137## and(a, b)
@@ -146,7 +149,7 @@ Example:
146149``` ts
147150import { and } from ' hikkaku/blocks'
148151
149- and ([[ true , () => {}]] as any , undefined as any )
152+ and (true , false )
150153```
151154
152155## or(a, b)
@@ -164,7 +167,7 @@ Example:
164167``` ts
165168import { or } from ' hikkaku/blocks'
166169
167- or ([[ true , () => {}]] as any , undefined as any )
170+ or (true , false )
168171```
169172
170173## not(operand)
@@ -181,7 +184,7 @@ Example:
181184``` ts
182185import { not } from ' hikkaku/blocks'
183186
184- not (undefined as any )
187+ not (false )
185188```
186189
187190## random(from, to)
@@ -217,7 +220,7 @@ Example:
217220``` ts
218221import { join } from ' hikkaku/blocks'
219222
220- join ([[ true , () => {}]] as any , undefined as any )
223+ join (' Hello ' , ' World ' )
221224```
222225
223226## letterOf(letter, text)
@@ -288,7 +291,7 @@ Example:
288291``` ts
289292import { mod } from ' hikkaku/blocks'
290293
291- mod ([[ true , () => {}]] as any , undefined as any )
294+ mod (10 , 3 )
292295```
293296
294297## round(value)
0 commit comments