Option::is_some
/ Return True if this value is Some.
Some
Source Codepublic method is_some<T>(this: Option<T>): Bool { match this { Some(_) => True, None => False, } }
public method is_some<T>(this: Option<T>): Bool { match this { Some(_) => True, None => False, } }