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 function LockIsValid(asset: Asset): 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.