Skip to main content

strict_int_elt

Function strict_int_elt 

Source
fn strict_int_elt<T>(v: i32) -> Result<Option<T>, String>
where i32: TryCoerce<T>, <i32 as TryCoerce<T>>::Error: Display,
Expand description

One INTSXP element: NA_integer_ is None; any other value coerces.