Version: 2017.3 (switch to 2017.4)
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.

Did you find this page useful? Please give it a rating: