Motif API
    Preparing search index...

    Interface Ok<T, E>

    interface Ok<T, E> {
        value: T;
        isErr(): this is Err<T, E>;
        isOk(): this is Ok<T, E>;
    }

    Type Parameters

    • T
    • E
    Index

    Properties

    Methods

    Properties

    value: T

    Methods

    • Returns this is Err<T, E>

    • Returns this is Ok<T, E>