// Wraps a given value into a Maybe type
some(any): Maybe<any>
// Creates an unassigned Maybe type
none(): Maybe<void>
// Determines if the Maybe has a value
isSome(Maybe<any>): bool
// Determines if the Maybe has no value
isNone(Maybe<any>): bool
// Returns the Maybe's value, or the default value if there is no value
getOr(Maybe<any>, any): any
// Returns a non-error error object
noerr(): Error
// Creates a Result with a value
ok(any): Result<any>
// Creates a Result with an Error
err(string): Result<any>
// Checks if the Result has a value
isOk(Result<any>): bool
// Checks if the Result has an Error
isErr(Result<any>): bool
// Gets the Result's value or default if it is an Error
getOr(Result<any>, any): any
// Gets the Result's Error or default if it is a value
getErr(Result<any>, Error): Error
// Creates an Either with the main (first) type set
main(any): Either<any, void>
// Creates and Either with the alternative (second) type set
alt(any): Either<void, any>
// Checks if the Either's main type is set
isMain(Either<any, anythingElse>): bool
// Checks if the Either's alt type is set
isAlt(Either<any, anythingElse>): bool
// Gets the main type or the default if it is the alt type
getMainOr(Either<any, anythingElse>, any): any
// Gets the alt type or the default if it is the main type
getAltOr(Either<any, anythingElse>, anythingElse): anythingElse