Truncates the given number into its integer part, and checks whether the value is within the safe integer range
the truncated number, guaranteed to be within the range of [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER]
specified value cannot be represented by a safe integer.
value
Number.isSafeInteger
Truncates the given number into its integer part, and checks whether the value is within the safe integer range