[{"id":"4290dec2.c896d","type":"inject","z":"b51d87d0.c86408","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":220,"y":1420,"wires":[["ffef1f99.e3147"]]},{"id":"ffef1f99.e3147","type":"function","z":"b51d87d0.c86408","name":"","func":"var set = new Set();\nset.add(undefined);\nmsg.payload = [...set];\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":400,"y":1420,"wires":[["a03fb66f.8b2a68"]]},{"id":"d9c498c9.9c4988","type":"debug","z":"b51d87d0.c86408","name":"yes","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":810,"y":1380,"wires":[]},{"id":"a03fb66f.8b2a68","type":"switch","z":"b51d87d0.c86408","name":"is of type undefined?","property":"payload","propertyType":"msg","rules":[{"t":"istype","v":"undefined","vt":"undefined"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":600,"y":1420,"wires":[["d9c498c9.9c4988"],["d0a30f32.cf1b3"]],"outputLabels":["yes","no"]},{"id":"d0a30f32.cf1b3","type":"debug","z":"b51d87d0.c86408","name":"no","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":810,"y":1460,"wires":[]},{"id":"a17fdd37.62873","type":"inject","z":"b51d87d0.c86408","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":220,"y":1480,"wires":[["5afb409a.c968b"]]},{"id":"5afb409a.c968b","type":"function","z":"b51d87d0.c86408","name":"undefined","func":"node.send({payload: undefined});","outputs":1,"noerr":0,"initialize":"","finalize":"","x":400,"y":1480,"wires":[["a03fb66f.8b2a68"]]}]
affects work too