Skip to main content

number_is_integer

Function number_is_integer 

Source
pub fn number_is_integer(n: &Number) -> bool
Expand description

Whether n holds an integer value per drafts 6+ (floats with a zero fractional part count as integers).