diff --git a/packages/node_modules/@node-red/nodes/locales/en-US/function/10-switch.html b/packages/node_modules/@node-red/nodes/locales/en-US/function/10-switch.html index b5b825c20..6f1cee1b1 100644 --- a/packages/node_modules/@node-red/nodes/locales/en-US/function/10-switch.html +++ b/packages/node_modules/@node-red/nodes/locales/en-US/function/10-switch.html @@ -38,9 +38,8 @@

Notes

The is true/false and is null rules perform strict comparisons against those types. They do not convert between types.

-

The is empty rule passes for Strings, Arrays and Buffers that have - a length of 0, or Objects that have no properties. It does not pass for null - or undefined values.

+

The is empty and is not empty rules can be used to test the length of Strings, Arrays and Buffers, or the number of properties an Object has. Neither rule will pass if the property being tested has a boolean, null + or undefined value.

Handling message sequences

By default, the node does not modify the msg.parts property of messages that are part of a sequence.