bupkis
    Preparing search index...

    Module guards

    Type guard functions and runtime type checking utilities.

    This module provides various type guard functions for runtime type checking, including guards for Zod schemas, constructors, PromiseLike objects, and assertion parts. These are used throughout the library for safe type narrowing and validation.

    import * as guards from 'bupkis/guards';
    

    Functions

    isZodType
    isZodPromise
    isPromiseLike
    isConstructible
    isBoolean
    isFunction
    isString
    isNonNullObject
    isNullOrNonObject
    isA
    isError