@bbx-audio/nectar
    Preparing search index...

    Type Alias Result<T, E>

    Result: [T, null] | [null, E]

    Wraps a functions return type to account for possible errors that may occur during its execution. If a function is likely to throw errors, using this type is preferred.

    Type Parameters

    • T
    • E = Error