From e741af6d55cd9dea0bc38aeb0a4f590a7d8fae8e Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 3 Aug 2020 16:58:09 +0100 Subject: [PATCH] Update packages/node_modules/@node-red/nodes/locales/en-US/function/10-switch.html --- .../@node-red/nodes/locales/en-US/function/10-switch.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 7f4a1a85b..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 and is not empty rules passes for Strings, Arrays and Buffers that have - a length of 0, or Objects that have no properties. It does not pass for boolean, 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.