The following ALH API checks whether a particular object is in a specific state name.
| Code Block | ||
|---|---|---|
| ||
public boolean inState(Object_ object, String stateName) { ... } public boolean inState(String stateName) { ... } |
Unless the object is specified, it will use the current active object, for example:
...