# Functions
And groups conditions with the AND operator.
FixedError is a hook returning a fixed error.
HasAddedFields is a condition validating `.AddedField` on fields.
HasClearedFields is a condition validating `.FieldCleared` on fields.
HasFields is a condition validating `.Field` on fields.
HasOp is a condition testing mutation operation.
If executes the given hook under condition.
NewChain creates a new chain of hooks.
Not negates a given condition.
On executes the given hook only for the given operation.
Or groups conditions with the OR operator.
Reject returns a hook that rejects all operations that match op.
Unless skips the given hook only for the given operation.
# Type aliases
Condition is a hook condition function.
The InterpretationFunc type is an adapter to allow the use of ordinary function as Interpretation mutator.
The InterpretationTranslationFunc type is an adapter to allow the use of ordinary function as InterpretationTranslation mutator.
The ItemFunc type is an adapter to allow the use of ordinary function as Item mutator.
The ItemTranslationFunc type is an adapter to allow the use of ordinary function as ItemTranslation mutator.
The NormFunc type is an adapter to allow the use of ordinary function as Norm mutator.
The QuestionFunc type is an adapter to allow the use of ordinary function as Question mutator.
The QuestionTranslationFunc type is an adapter to allow the use of ordinary function as QuestionTranslation mutator.
The ResponseFunc type is an adapter to allow the use of ordinary function as Response mutator.
The ResultFunc type is an adapter to allow the use of ordinary function as Result mutator.
The SampleFunc type is an adapter to allow the use of ordinary function as Sample mutator.
The ScaleFunc type is an adapter to allow the use of ordinary function as Scale mutator.
The ScaleItemFunc type is an adapter to allow the use of ordinary function as ScaleItem mutator.
The ScaleTranslationFunc type is an adapter to allow the use of ordinary function as ScaleTranslation mutator.
The TagFunc type is an adapter to allow the use of ordinary function as Tag mutator.
The TagTranslationFunc type is an adapter to allow the use of ordinary function as TagTranslation mutator.
The TakeFunc type is an adapter to allow the use of ordinary function as Take mutator.
The TestDisplayFunc type is an adapter to allow the use of ordinary function as TestDisplay mutator.
The TestFunc type is an adapter to allow the use of ordinary function as Test mutator.
The TestTranslationFunc type is an adapter to allow the use of ordinary function as TestTranslation mutator.
The UserFunc type is an adapter to allow the use of ordinary function as User mutator.
The UserSessionFunc type is an adapter to allow the use of ordinary function as UserSession mutator.