method O.unwrapimport { O } from "https://deno.land/x/ahh@v0.9.1/src/option/mod.ts"; unwrap<T>(o: Option<T>): o extends Some<T> ? T : neverReturns the contained Some value. Throws if the Option is a None. Examples import { O, None } from "./mod.ts"; console.log(O.unwrap(1)); // 1 O.unwrap(None); // throws Type ParametersTParameterso: Option<T>Returnso extends Some<T> ? T : never