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.

VersionControl.Asset.IsOneOfStates

IsOneOfStates(states: States[]): bool;
bool IsOneOfStates(States[] states);
def IsOneOfStates(states as States[]) as bool

Parameters

statesArray of states to test for.

Description

Returns true if the version control state of the assets is one of the input states.