The priority
parameter is a number that represents the priority of the value. It is
optional and has a default value of NaN
.
Optional
val: null | V = nullThe val
parameter is of type V | null
, which means it can accept a value of type
V
or null
.
Private
_priorityPrivate
_valGenerated using TypeDoc
The constructor function initializes an instance of a class with a priority and a value.