Skip to content

IMapChangedValidationTriggerConfig.shouldTriggerValidation

github-actions[bot] edited this page Feb 4, 2025 · 4 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