# 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
The ArtifactFunc type is an adapter to allow the use of ordinary function as Artifact mutator.
The BillOfMaterialsFunc type is an adapter to allow the use of ordinary function as BillOfMaterials mutator.
The BuilderFunc type is an adapter to allow the use of ordinary function as Builder mutator.
The CertificationFunc type is an adapter to allow the use of ordinary function as Certification mutator.
The CertifyLegalFunc type is an adapter to allow the use of ordinary function as CertifyLegal mutator.
The CertifyScorecardFunc type is an adapter to allow the use of ordinary function as CertifyScorecard mutator.
The CertifyVexFunc type is an adapter to allow the use of ordinary function as CertifyVex mutator.
The CertifyVulnFunc type is an adapter to allow the use of ordinary function as CertifyVuln mutator.
Condition is a hook condition function.
The DependencyFunc type is an adapter to allow the use of ordinary function as Dependency mutator.
The HashEqualFunc type is an adapter to allow the use of ordinary function as HashEqual mutator.
The HasMetadataFunc type is an adapter to allow the use of ordinary function as HasMetadata mutator.
The HasSourceAtFunc type is an adapter to allow the use of ordinary function as HasSourceAt mutator.
The LicenseFunc type is an adapter to allow the use of ordinary function as License mutator.
The OccurrenceFunc type is an adapter to allow the use of ordinary function as Occurrence mutator.
The PackageNameFunc type is an adapter to allow the use of ordinary function as PackageName mutator.
The PackageVersionFunc type is an adapter to allow the use of ordinary function as PackageVersion mutator.
The PkgEqualFunc type is an adapter to allow the use of ordinary function as PkgEqual mutator.
The PointOfContactFunc type is an adapter to allow the use of ordinary function as PointOfContact mutator.
The SLSAAttestationFunc type is an adapter to allow the use of ordinary function as SLSAAttestation mutator.
The SourceNameFunc type is an adapter to allow the use of ordinary function as SourceName mutator.
The VulnEqualFunc type is an adapter to allow the use of ordinary function as VulnEqual mutator.
The VulnerabilityIDFunc type is an adapter to allow the use of ordinary function as VulnerabilityID mutator.
The VulnerabilityMetadataFunc type is an adapter to allow the use of ordinary function as VulnerabilityMetadata mutator.