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

    isA
    isBoolean
    isConstructible
    isError
    isExpectItExecutor
    isFunction
    isNonNullObject
    isObject
    isPhrase
    isPromiseLike
    isStandardSchema
    isString
    isWeakKey
    isZodPromise
    isZodType