forked from AbleOS/ableos
8 lines
236 B
Plaintext
8 lines
236 B
Plaintext
any := fn($Expr: type): Expr {
|
|
return @intcast(@eca(3, 4))
|
|
}
|
|
|
|
range := fn($Expr: type, min: Expr, max: Expr): Expr {
|
|
// wtf is this
|
|
return @intcast(@as(int, @eca(3, 4)) % @as(int, @intcast(max) - @intcast(min)) + 1 + @intcast(min))
|
|
} |