Documentation
    Preparing search index...

    Interface ISuccess<T>

    Successful result variant.

    Indicates the operation completed successfully and contains the result value. Access via value after checking success is true.

    interface ISuccess<T> {
        success: true;
        value: T;
    }

    Type Parameters

    • T

      Type of the success value

    Index

    Properties

    Properties

    success: true

    Success discriminator.

    Always true for successful results. Use this to narrow the type before accessing value.

    value: T

    The successful result value.

    Contains the operation's output. Only accessible when success is true.