quickjs_runtime::quickjs_utils::primitives

Function to_bool

source
pub fn to_bool(value_ref: &QuickJsValueAdapter) -> Result<bool, JsError>