Skip to main content

Namespaces

A namespace groups a set of related constants and functions that Nextflow makes available to every script. The global namespace is available without a prefix, while the remaining namespaces are accessed by name, such as workflow.projectDir.

Available namespaces

PageDescription
Global namespaceThe globally available constants and functions.
channelThe built-in channel factories.
logFunctions for logging messages to the console.
nextflowInformation about the current Nextflow runtime.
workflowInformation about the current workflow run.

See also

  • Types: The standard types returned by these constants and functions.