Function js_sys::is_finite

source ·
pub fn is_finite(value: &JsValue) -> bool
Expand description

The global isFinite() function determines whether the passed value is a finite number. If needed, the parameter is first converted to a number.

MDN documentation