These docs are for v1.3.0. Click to read the latest docs for v1.6.

is_valid

Check if the asset is valid. A valid asset has its amount <= max_amount and its symbol name valid

public inline bool is_valid() const

Check if the asset is valid. A valid asset has its amount <= max_amount and its symbol name valid

Returns

true - if the asset is valid

Returns

false - otherwise