Garden 🌻

Option::is_some

/ Return True if this value is Some.

Source Codepublic method is_some<T>(this: Option<T>): Bool {
  match this {
    Some(_) => True,
    None => False,
  }
}