Docs
chromia.com

FUNCTION

validate_asset_name

function validate_asset_name(name: text)
Source

Ensures that the text input is at most 1024 characters long.

Throws "INVALID TEXT" otherwise.

Parameters

  • name — the text to validate