Skip to main content

returns_bare

Function returns_bare 

Source
pub(crate) fn returns_bare(ty: &Type) -> bool
Expand description

Whether a catch import’s Ok type is () or JsValue, which need no wrapper to convert.