Specifies the predicate to use for filtering documents.
Only input documents for which the predicate returns
true will be output.
- Namespace
- Statiq
.Core - Containing Type
- FilterDocuments
Syntax
public FilterDocuments(Config<bool> predicate)
Parameters
| Name | Type | Description |
|---|---|---|
| predicate | Config |
A predicate delegate that should return a bool. |