Gimp.Unit.prototype.get_symbol

function get_symbol(): String {
    // Gjs wrapper for gimp_unit_get_symbol()
}
  

This is e.g. "''" for UNIT_INCH.

NOTE: This string must not be changed or freed.

Returns

The unit's symbol.