Skip to content

[F] isGlobalNamespace

function isGlobalNamespace(program, namespace): namespace is Namespace & Object

Check if the given namespace is the global namespace

Parameters

ParameterTypeDescription
programProgramProgram
namespaceNamespaceNamespace

Returns

namespace is Namespace & Object