Skip to main content

extern_spec_T_Option_T_is_some

Function extern_spec_T_Option_T_is_some 

Source
pub fn extern_spec_T_Option_T_is_some<T>(self_: &Option<T>) -> bool
Expand description

extern spec for Option<T>::is_some

This is not a real function: its only use is for documentation.

terminates

ghost

ensures

result == (*self != None)