Contents

isForFoodEnergyUse

A Boolean value that indicates whether the energy value is used to measure food energy.

Declaration

var isForFoodEnergyUse: Bool { get set }

Discussion

Returns true if the energy is used to measure food energy; otherwise, false. If set to true, EnergyFormatter.Unit.kilocalorie may be represented using “C” instead of “kcal”. By default, this property returns false.

See Also

Formatting Energy Strings