ChemPare Documentation - v0.0.0
    Preparing search index...

    Type Alias Maybe<T>

    Maybe: NonNullable<T> | undefined | void

    Type that represents either a non-null value of T or undefined. Used for optional values that cannot be null when present.

    Type Parameters

    • T

      The type of the value

    // Example function handling Maybe type
    function processValue(value: Maybe<string>) {
    return value ? value.toUpperCase() : "no value";
    }