Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

Provider.RevertIsValid

public static bool RevertIsValid(VersionControl.AssetList assets, VersionControl.RevertMode mode);
public static bool RevertIsValid(VersionControl.Asset asset, VersionControl.RevertMode mode);

Parameters

assets List of assets to test.
mode Revert mode to test for.
asset Asset to test.

Description

Return true if Revert is a valid task to perform.