Abstract Private constructorStatic arrayStatic booleanStatic dateStatic functionStatic nullStatic numberStatic objectStatic processStatic promiseType-check value for Promise<unknown>.
The value to type-check.
Whether value is of type Promise<unknown>.
Type-check null for Promise<unknown>:
import { TypeOf } from '@sgrud/core';
TypeOf.promise(null); // false
Static regexStatic stringStatic undefinedStatic urlStatic windowStatic Private testGenerated using TypeDoc
Strict type-assertion and runtime type-checking utility. When type-checking variables in the global scope, e.g.,
windoworprocess, make use of theglobalThisobject.Example
Type-check global context: