Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

Asset.IsState

Switch to Manual
public function IsState(state: VersionControl.Asset.States): bool;

Parameters

state State to check for.

Description

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