Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

IsState(state: States): bool;
bool IsState(States state);
def IsState(state as States) as bool

Parameters

stateState to check for.

Description

Returns true if the version control state of the asset exactly matches the input state.