Add Num.min and Num.max

Implements #5533
This commit is contained in:
Fábio Beirão 2023-06-09 14:16:28 +02:00
parent 2faa0e4c5b
commit ec94fc87a5
No known key found for this signature in database
GPG key ID: 13FD3A2130278AAE
3 changed files with 56 additions and 0 deletions

View file

@ -1262,6 +1262,8 @@ define_builtins! {
156 NUM_IS_NAN: "isNaN"
157 NUM_IS_INFINITE: "isInfinite"
158 NUM_IS_FINITE: "isFinite"
159 NUM_MIN: "min"
160 NUM_MAX: "max"
}
4 BOOL: "Bool" => {
0 BOOL_BOOL: "Bool" exposed_type=true // the Bool.Bool type alias