Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/froebel/predicate.ts

A strictly typed utility library.
Go to Latest
import * as froebel from "https://deno.land/x/froebel@v0.21.3/predicate.ts";

Variables

Checks if value is falsy. Literal types are narrowed accordingly.

Checks if result (returned from Promise.allSettled) is fulfilled.

Checks if value is not a promise.

Checks if value looks like a promise.

Checks if result (returned from Promise.allSettled) is rejected.

Checks if value is not nullish. Literal types are narrowed accordingly.

Checks if value is nullish. Literal types are narrowed accordingly.

Checks if value is truthy. Literal types are narrowed accordingly.