If you're pulling out a `uint64_t` then use `args[1]->IntegerValue()` instead, and since there's no `IsInteger` check i'd just check `IsNumber` and coerce decimal values.