Abstract
lengthThe number of items this value has.
0
for maps and absent charge.1
for single-valued charge.Abstract
metaAbstract
typeType of this charge value.
undefined
when the charge has no value.
Abstract
valueAbstract
atObtains an item charge at the given index
.
For single-valued charge, map, and URICharge.None always
returns itself for indices 0
and -1
, and none for any other index.
For the list returns an URI charge of the item at the given index, or none if there is no such item.
Zero-based index of the list item to be returned. Negative
index counts back from the end of the list — if index < 0
, index + array.length
is accessed.
Target item charge, or none if there is no such item.
Abstract
hastrue
for single-valued charge and non-empty list.
Checks whether this charge is a list.
true
for any list, including zero-length one; false
for everything else.
Checks whether this charge is a map.
true
for any map, including empty one; false
for everything else.
Checks whether this charge is none.
true
only for URICharge.none instance.
Abstract
isChecks whether this charge is a single-valued one.
true
for single-valued charges only; false
for everything else, including lists with single item.
Checks whether this charge represents something.
true
for any charge instance, except URICharge.none instance.
Abstract
listIterates over charge item charges.
Iterable iterator over present item charges.
Abstract
toUCGenerated using TypeDoc
URI charge list.