Skip to content

ISetChangedValidationTriggerConfig.shouldTriggerValidation

github-actions[bot] edited this page Nov 17, 2024 · 2 revisions
API / ISetChangedValidationTriggerConfig<TItem, TSet> / shouldTriggerValidation method

Optional, a guard method which controls when a validation should be triggered.

shouldTriggerValidation(
  set: TSet,
  setChange: ISetChange<TItem>
): boolean

Source reference: src/validation/triggers/SetChangedValidationTrigger.ts:20.

Parameters

  • set: TSet
    The set that changed.

  • setChange: ISetChange<TItem>
    The set change.

Returns: boolean

Clone this wiki locally