Garden 🌻

Option::is_some()

/ Return True if this value is Some.

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