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.

static function RevertIsValid(assets: AssetList, mode: RevertMode): bool;
static bool RevertIsValid(AssetList assets, RevertMode mode);
static def RevertIsValid(assets as AssetList, mode as RevertMode) as bool
static function RevertIsValid(asset: Asset, mode: RevertMode): bool;
static bool RevertIsValid(Asset asset, RevertMode mode);
static def RevertIsValid(asset as Asset, mode as RevertMode) as bool

Parameters

assetsList of assets to test.
modeRevert mode to test for.
assetAsset to test.

Description

Return true if Revert is a valid task to perform.