better-returns
    Preparing search index...

    Function ok

    • Creates an Ok result containing the given value.

      Type Parameters

      • T

        The type of the successful value.

      Parameters

      • value: T

        The value to wrap in an Ok result.

      Returns Result<T, never>

      An Ok result.