Range

Interface that all Range objects must implement

Members

(nullable) a :number

Indicates the index into RangeGroup#ranges, for which this range was sourced from during a boolean set operation. This is set from RangeGroup#diff if the track_sources option is enabled. A value of null indicates the range was not present in group a.

Type:
  • number

(nullable) b :number

Indicates the index into RangeGroup#ranges, for which this range was sourced from during a boolean set operation. This is set from RangeGroup#diff if the track_sources option is enabled. A value of null indicates the range was not present in group b.

Type:
  • number

end :any

End of range

Type:
  • any

(nullable) endExcl :boolean

Whether Range#end is exclusive; if undefined or null, it defaults to inclusive

Type:
  • boolean

start :any

Start of range

Type:
  • any

(nullable) startExcl :boolean

Whether Range#start is exclusive; if undefined or null, it defaults to inclusive

Type:
  • boolean