pub fn number_is_integer(n: &Number) -> bool
Whether n holds an integer value per drafts 6+ (floats with a zero fractional part count as integers).
n