Hello, I have a question
is it possible to delete a msg property in a node red function
somehow like that
delete(msg.temperature)
Hello, I have a question
is it possible to delete a msg property in a node red function
somehow like that
delete(msg.temperature)
yes...
delete msg.somethingINoLongerNeed
return msg
but you should just use the change node
Msg.temperature={}
Deletes value, not property, sorry
That doesn't remove the object, just creates one with no properties
You type faster