Skip to main content

is_option_wrapped

Function is_option_wrapped 

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

Returns whether the outermost wrapper of a type is Option.