forked from AbleOS/ableos
7 lines
230 B
Plaintext
7 lines
230 B
Plaintext
any := fn($Expr: type): Expr {
|
|
return *@eca(3, 4, &@as(Expr, idk), @sizeof(Expr))
|
|
}
|
|
|
|
range := fn($Expr: type, min: Expr, max: Expr): Expr {
|
|
return *@eca(3, 4, &@as(Expr, idk), @sizeof(Expr)) % (max - min) + *@bitcast(&1) + min
|
|
} |