While Wyam is certainly still usable, it's been rebranded and rebooted as Statiq with a ton of improvements. You almost certainly want to look there unless you're already a Wyam user.

Documents.

Where(DocumentConfig) Method

Summary

Only documents that satisfy the predicate will be output.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Control
Containing Type
Documents

Syntax

public Documents Where(DocumentConfig predicate)

Parameters

Name Type Description
predicate DocumentConfig A delegate that should return a bool.

Return Value

Type Description
Documents The current module instance.
GitHub