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

Parameters

assetsThe assets to lock.
assetThe asset to lock.

Description

Returns true if locking the assets is a valid operation.