function isOkimport { isOk } from "https://deno.land/x/ahh@v0.11.0/src/result/mod.ts"; isOk<T, E extends Error>(res: Result<T, E>): res is Ok<T>Returns whether res is an Ok. ExamplesExample 1 import { default as R } from "./mod.ts"; console.log(R.isOk(1)); // true console.log(R.isOk(Error())); // false Type ParametersTE extends ErrorParametersres: Result<T, E>Returnsres is Ok<T>