@wopjs/tsur - v0.1.7
    Preparing search index...

    Variable OkConst

    Ok: <T, E = any>(value: T) => Result<T, E> = ...

    Type declaration

      • <T, E = any>(value: T): Result<T, E>
      • Type Parameters

        • T
        • E = any

        Parameters

        • value: T

          A value of type T

        Returns Result<T, E>

        Wrap a value into an Result.

    A value of type T

    Wrap a value into an Result.