Go to: Synopsis. Return value. MEL examples.

Synopsis

isTrue <condition name>

isTrue is undoable, queryable, and editable.

This commmand returns the state of the named condition. If the condition is true, it returns 1. Otherwise it returns 0.

Return value

None

In query mode, return type is based on queried flag.

MEL examples

isTrue SomethingSelected;
  // Result: 1 //