Skip to content

IMapChangedValidationTriggerConfig.shouldTriggerValidation

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions

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

shouldTriggerValidation(
  map: TMap,
  mapChange: IMapChange<TKey, TItem>
): boolean

Source reference: src/validation/triggers/MapChangedValidationTrigger.ts:21.

Parameters

  • map: TMap
    The map that changed.

  • mapChange: IMapChange<TKey, TItem>
    The map change.

Returns: boolean

Clone this wiki locally