Skip to content

isDebugNamespaceEnabled

Checks whether the current debug filter enables a namespace.

Import:

import { isDebugNamespaceEnabled } from '@mnaoumov/typescript-lib/debug';

Signature:

function isDebugNamespaceEnabled(namespace: string): boolean

Parameters:

Parameter Type Description
namespace string The namespace to check.

Returns: boolean — Whether the namespace is enabled.