You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/** @module result */
|
|
|
|
/**
|
|
* @template T
|
|
* @typedef {[Symbol, T]} Result
|
|
* A tuple that contains a Symbol (OK or ERROR) and any value of type T.
|
|
*/
|
|
|
|
const OK = Symbol("OK");
|
|
const ERROR = Symbol("ERROR");
|
|
|
|
export { OK, ERROR };
|