net.corda.core.transactions / FilterFuns

# FilterFuns

`class FilterFuns`

Holds filter functions on transactions fields. Functions are used to build a partial tree only out of some subset of original transaction fields.

### Constructors

<init> | `FilterFuns(filterInputs: (StateRef) -> Boolean = { false }, filterOutputs: (TransactionState<ContractState>) -> Boolean = { false }, filterAttachments: (SecureHash) -> Boolean = { false }, filterCommands: (Command) -> Boolean = { false })` Holds filter functions on transactions fields. Functions are used to build a partial tree only out of some subset of original transaction fields.

### Properties

filterAttachments | `val filterAttachments: (SecureHash) -> Boolean`
filterCommands | `val filterCommands: (Command) -> Boolean`
filterInputs | `val filterInputs: (StateRef) -> Boolean`
filterOutputs | `val filterOutputs: (TransactionState<ContractState>) -> Boolean`

### Functions

genericFilter | `fun <T : Any> genericFilter(elem: T): Boolean`