BSB Node.js Type Definitions
    Preparing search index...

    Function unwrap

    • Unwraps a Result, throwing the error if it failed

      Type Parameters

      • T
      • E

      Parameters

      • result: Result<T, E>

        The result to unwrap

      Returns T

      The success value

      The error if result failed