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 LockIsValid(assets: AssetList): bool;
static bool LockIsValid(AssetList assets);
static def LockIsValid(assets as AssetList) as bool
static function LockIsValid(asset: Asset): bool;
static bool LockIsValid(Asset asset);
static def LockIsValid(asset as Asset) as bool

Parameters

assetsList of assets to test.
assetAsset to test.

Description

Return true if the task can be executed.

For the list of assets version it return true if one or more assets meets the requirements.