GroupByMany.

WithEmptyOutputIfNoGroups(bool) Method

Summary

Specifies that no documents should be output if there are no groups. This is in contrast to the default behavior of outputting the unmodified input documents if no groups were found.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Control
Containing Type
GroupByMany

Syntax

public GroupByMany WithEmptyOutputIfNoGroups(bool emptyOutput = true)

Parameters

Name Type Description
emptyOutput bool true to not output documents when no groups are found.

Return Value

Type Description
GroupByMany The current module instance.
GitHub