Category talk:Wren-check: Difference between revisions

Content added Content deleted
(→‎Source code: Still not right :()
(→‎Source code: Think I'll go back to bed!)
Line 18: Line 18:


static isSafeInt_(value) {
static isSafeInt_(value) {
return (value is Num) && value.isInteger && value <= Num.maxSafeInteger.abs
return (value is Num) && value.isInteger && value.abs <= Num.maxSafeInteger
}
}