Skip to main content

try_from_sexp_coerced_bool

Function try_from_sexp_coerced_bool 

Source
#[doc(hidden)]
pub fn try_from_sexp_coerced_bool(sexp: SEXP) -> Result<bool, SexpError>
Expand description

Convert a coerce boolean parameter from a logical or integer zero/one. Numeric parameters already have multi-source TryFromSexp implementations; bool needs this extension while its ordinary conversion stays logical-only.