unique property

Indicates whether the index allows duplicate key values.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
ptr = object.unique

 

Property values

Type: boolean

A Boolean value describing whether the index allows duplicate key values.

ValueCondition
true

Duplicate values are not allowed.

false

Duplicate values are allowed.

 

Standards information

See also

IDBIndex

 

 

Show: