Interface ResultMatcher<T, E, U>

interface ResultMatcher<T, E, U> {
    Err: ((error: E) => U);
    Ok: ((value: T) => U);
}

Type Parameters

  • T = any
  • E = any
  • U = any

Properties

Properties

Err: ((error: E) => U)
Ok: ((value: T) => U)