Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

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

Asset.IsState

public bool IsState(VersionControl.Asset.States state);

Parameters

state State to check for.

Description

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