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

x/froebel/mod.ts>isFulfilled

A strictly typed utility library.
Go to Latest
variable isFulfilled
import { isFulfilled } from "https://deno.land/x/froebel@v0.18.0/mod.ts";

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

type

<T>(result: PromiseSettledResult<T>) => result is PromiseFulfilledResult<T>