Variable ResultConst

Result: ResultConstructor = ...

The constructor for a Result, which represents success (Ok) or failure (Err).

The behavior of this type is checked by TypeScript at compile time, and bears no runtime overhead other than the very small cost of the container object.