/** @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 };