isPrimaryKey method

Returns true if index is the primary key, false if index is not the primary key.

Syntax
Boolean isPrimaryKey()
Remarks

Columns in the primary key may not be null.