Skip to content

Superviseur — Frontend v1.0.0


Superviseur — Frontend / features/map/map.utils / findDetector

Fonction: findDetector() ​

ts
function findDetector(systemState, point): 
  | Point
  | Detector
  | undefined;

Défini dans: features/map/map.utils.ts:44

Finds a Detector in the system state corresponding to a MapPoint. Requires the zone to be found first.

Paramètres ​

ParamètreType
systemState| FireStationSystem | undefined
pointMapPoint

Retourne ​

| Point | Detector | undefined

Documentation Technique