ASSET_SIZE
The function ASSET_SIZE takes a Detailed Asset and returns the size of the Asset in bytes.
This function takes a Detailed Asset as input. It returns a Number: the size of the Asset in bytes.
Declaration
Parameters
detailed_asset (required, type: Detailed Asset)
Any Detailed Asset. Note that a Detailed Asset is a subcategory of an Asset, and that the ASSET_SIZE function will not accept a general Asset as input, only a Detailed Asset.
Return Values
thumbnail_url(type: Number)
The size of the given Detailed Asset in bytes.
Examples
Assume the example has access to the following Detailed Asset, detailed_asset:
The following example takes the Detailed Asset defined above and returns its size. Note that this matches the value of the size property given above:
Last updated