ts-data-forge
    Preparing search index...

    Namespace Optional

    Namespace for the Optional type and related functions. Provides utilities to handle values that might be absent, similar to Option types in other languages.

    Type Aliases

    Base
    NarrowToNone
    NarrowToSome
    None
    Some
    Unwrap

    Variables

    none

    Functions

    expectToBe
    filter
    flatMap
    fromNullable
    isNone
    isOptional
    isSome
    map
    orElse
    some
    toNullable
    unwrap
    unwrapOr
    unwrapThrow
    zip