Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Result

type Result<T, E = Error> = {
ok: true;
value: T;
}
| {
ok: false;
error: E;
}
;

§Type Parameters

§
E = Error
[src]

§Type

§
{
ok: true;
value: T;
}
| {
ok: false;
error: E;
}
[src]