mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Update 10-switch.html
Clarify switch help regarding booleans for the is empty / is not empty rules.
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							8b36279e52
						
					
				
				
					commit
					410009dd61
				
			| @@ -38,8 +38,8 @@ | ||||
|     <h4>Notes</h4> | ||||
|     <p>The <code>is true/false</code> and <code>is null</code> rules perform strict | ||||
|        comparisons against those types. They do not convert between types.</p> | ||||
|     <p>The <code>is empty</code> rule passes for Strings, Arrays and Buffers that have | ||||
|        a length of 0, or Objects that have no properties. It does not pass for <code>null</code> | ||||
|     <p>The <code>is empty</code> and <code>is not empty</code> rules passes for Strings, Arrays and Buffers that have | ||||
|        a length of 0, or Objects that have no properties. It does not pass for <code>boolean</code>, <code>null</code>  | ||||
|        or <code>undefined</code> values.</p> | ||||
|     <h4>Handling message sequences</h4> | ||||
|     <p>By default, the node does not modify the <code>msg.parts</code> property of messages | ||||
|   | ||||
		Reference in New Issue
	
	Block a user