Type alias Maybe<A>

Maybe<A>: {
    fields: A;
    name: "Just";
} | {
    name: "Nothing";
}

Maybe is either "Just" the value A, or "Nothing".

Type Parameters

  • A

Type declaration

  • fields: A
  • name: "Just"

Type declaration

  • name: "Nothing"

Generated using TypeDoc