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.

VersionControl.Provider.GetLatestIsValid

static function GetLatestIsValid(assets: AssetList): bool;
static bool GetLatestIsValid(AssetList assets);
static def GetLatestIsValid(assets as AssetList) as bool
static function GetLatestIsValid(asset: Asset): bool;
static bool GetLatestIsValid(Asset asset);
static def GetLatestIsValid(asset as Asset) as bool

Parameters

assetsList of assets to test.
assetAsset to test.

Description

Returns true if getting the latest version of an asset is a valid operation.

For the list version it returns true if is valid for one or more assets.