Typeberry by Fluffy Labs - v0.9.0
    Preparing search index...

    Module utils

    General utility functions and helpers.

    This module provides a collection of general-purpose utility functions, type helpers, and common operations used throughout Typeberry.

    Enumerations

    GpVersion
    TestSuite

    Classes

    Compatibility
    ErrorsCollector
    WithDebug

    Interfaces

    ShutdownLogger
    ShutdownOptions

    Type Aliases

    Closer
    DeepEqualOptions
    ErrorResult
    OK
    OkResult
    Opaque
    Result
    ShutdownSignal
    TaggedError
    TokenOf
    WithOpaque

    Variables

    __OPAQUE_TYPE__
    CURRENT_SUITE
    CURRENT_VERSION
    DEFAULT_SUITE
    DEFAULT_VERSION
    env
    MAX_LENGTH
    name
    now
    OK
    Result
    TEST_COMPARE_USING
    version
    workspacePathFix

    Functions

    asOpaqueType
    assertEmpty
    assertNever
    check
    deepEqual
    inspect
    installShutdownHandlers
    isBrowser
    lazyInspect
    measure
    memoryTracker
    memoryUsage
    resultToString
    safeAllocUint8Array
    seeThrough