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

operator-

public inline asset operator-() const

Unary minus operator

Returns

asset - New asset with its amount is the negative amount of this asset