@hexafuchs/what.js
    Preparing search index...

    Variable assertHasNotKeyConst Alias

    assertHasNotKey: <T>(
        container: Record<string, unknown> | Map<T, unknown>,
        key: string | T,
    ) => void = assertNotContainsKey

    Type declaration

      • <T>(container: Record<string, unknown> | Map<T, unknown>, key: string | T): void
      • Asserts the object or array does not contain the given key.

        Supports maps.

        Type Parameters

        • T

        Parameters

        • container: Record<string, unknown> | Map<T, unknown>
        • key: string | T

        Returns void