Fix compare with null to !== instead of != (#867)

pull/869/head
fuslwusl 2019-01-13 11:50:09 +01:00 committed by Jerome Luckenbach
parent a115ed0312
commit fed161b4ac
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ For example:
```java
var thingStatusInfo = getThingStatusInfo("zwave:device:c5155aa4:node2")
if ((thingStatusInfo != null) && (thingStatusInfo.getStatus().toString() == "ONLINE")) {
if ((thingStatusInfo !== null) && (thingStatusInfo.getStatus().toString() == "ONLINE")) {
logInfo("ThingStatus", "The thing is online.")
} else {
logError("ThingStatus", "The thing is offline or doesn't exist.")