Equals String
Tests whether two strings are the same.
Node id logic/equals-string
The Equals String node outputs true if a and b are exactly the same
text, and false otherwise.
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| a | string | "" | |
| b | string | "" |
Outputs
| Name | Type | Notes |
|---|---|---|
| result | boolean |
Behaviour
- Defaults. Both inputs default to the empty string.
- Exact. Upper and lower case differ ("Red" is not "red"), and so do spaces at either end.
Related nodes
- Not Equals String: the opposite test.
- Color To Hex: gives a color as a string, which can be compared.