Skip to content

ICollectionItemValidationTriggerConfig.shouldTriggerValidation

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

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

shouldTriggerValidation(
  item: TItem
): boolean

Source reference: src/validation/triggers/CollectionItemValidationTrigger.ts:31.

Parameters

  • item: TItem
    The item that changed which may trigger a validation.

Returns: boolean

Clone this wiki locally