Open this page in the API Guide
Measure.isPrimaryKey Method
Returns a value indicating whether this element is a primary key in the source or not.
Return Value
Type: Boolean
A value indicating whether this element is a primary key in the source or not.