Summary
Limits the documents passed to the child modules to those that satisfy the
supplied predicate. All original input documents are output without
modification regardless of whether they satisfy the predicate.
- Assembly
- Wyam
.Core .dll - Namespace
- Wyam
.Core .Modules .Control - Containing Type
- Branch
Syntax
public Branch Where(DocumentConfig predicate)
Parameters
| Name | Type | Description |
|---|---|---|
| predicate | DocumentConfig | A delegate that should return a bool. |
Return Value
| Type | Description |
|---|---|
| Branch | The current module instance. |
