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