Skip to content

[F] isGlobalNamespace

function isGlobalNamespace(program, namespace): namespace is Namespace & { name: ""; namespace: undefined }

Check if the given namespace is the global namespace

Parameters

ParameterTypeDescription
programProgramProgram
namespaceNamespaceNamespace

Returns

namespace is Namespace & { name: ""; namespace: undefined }