import { R } from "https://deno.land/x/ahh@v0.10.0/mod.ts";
Returns whether res
is an Err
.
Examples
import { R } from "./mod.ts";
console.log(R.isErr(1)); // false
console.log(R.isErr(Error())); // true
import { R } from "https://deno.land/x/ahh@v0.10.0/mod.ts";
Returns whether res
is an Err
.
import { R } from "./mod.ts";
console.log(R.isErr(1)); // false
console.log(R.isErr(Error())); // true