Gimp.Unit.prototype.get_abbreviation

function get_abbreviation(): String {
    // Gjs wrapper for gimp_unit_get_abbreviation()
}
  

For built-in units, this function returns the translated abbreviation of the unit.

NOTE: This string must not be changed or freed.

Returns

The unit's abbreviation.