Boolean#
Boolean.isEmpty()#
Description: 对所有布尔值返回 false。对 null 返回 true。
Syntax: Boolean.isEmpty()
Returns: Boolean
Source: Custom n8n functionality
Examples:
1 2 | |
1 2 | |
1 2 | |
Boolean.toNumber()#
Description: 将 true 转换为 1,将 false 转换为 0
Syntax: Boolean.toNumber()
Returns: Number
Source: Custom n8n functionality
Examples:
1 | |
1 | |
Boolean.toString()#
Description: 将 true 转换为字符串 'true',将 false 转换为字符串 'false'
Syntax: Boolean.toString()
Returns: String
Source: JavaScript function
Examples:
1 2 | |
1 2 | |