You are here

public function UnitsConstantMathematicalExpression::containsDimensionlessMember in Units of Measurement 7.2

Test whether this mathematical expression includes a dimensionless member.

Whether this mathematical expression contains at least 1 dimensionless member.

Return value

bool Whether this mathematical expression contains at least 1 dimensionless member

Overrides UnitsMathematicalExpression::containsDimensionlessMember

File

./units.module, line 1772
Provide API for managing and converting units of measurement.

Class

UnitsConstantMathematicalExpression
Implementation of "mathematical expression" interface for a constant.

Code

public function containsDimensionlessMember() {
  return TRUE;
}