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

isPending

import { isPending } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/datum.ts";

Check if a Datum is in the Pending state.

@example
import { isPending, initial, pending, replete } from "./datum.ts";

console.log(isPending(initial)); // false
console.log(isPending(pending)); // true
console.log(isPending(replete("data"))); // false
function isPending<A>(ta: Datum<A>): ta is Pending;
§
isPending<A>(ta: Datum<A>): ta is Pending
[src]

§Type Parameters

§Parameters

§Return Type