Class Some<A> represents existing values of type A. Some never contains null or undefined.
Some<A>
A
const a:any = "anything" const b: Some<any> = new Some<any>(a) const c: Some<any> = Option.some(a) const d: Some<any> = Option(a) const e: Some<any> = Option.some(a) const f: Some<any> = Option.apply(a)
Generated using TypeDoc
Class
Some<A>
represents existing values of typeA
. Some never contains null or undefined.const a:any = "anything" const b: Some<any> = new Some<any>(a) const c: Some<any> = Option.some(a) const d: Some<any> = Option(a) const e: Some<any> = Option.some(a) const f: Some<any> = Option.apply(a)