the actual value of this ValueObject
Static
createa Result
with the created IntegerString
to create the IntegerString of
Optional
options: IntegerStringOptionsconstraints the value has to fulfill
Static
froma Result
with an array of created IntegerStrings
an array of primitives to map to an array of IntegerStrings
Optional
options: IntegerStringOptions & ListCreationOptionsconstraints the values / list has to fulfill
Static
listcompares 2 Lists of ValueObjects / values on equality
true if the lists are equal
the list of ValueObjects to compare with
a list of ValueObjects / values for comparison
Static
parseStatic
tothe array of values
an array of IntegerStrings to map to an array of their values
Static
validatethe value if the validation was successful
if not a parsable integer
if the value has not allowed decimal digits
if the value is not inside the interval
to be validated as an integer with the corresponding constraints (options)
Optional
options: IntegerStringOptionsconstraints the value has to fulfill
Generated using TypeDoc
An Integer (
number
without decimal digits) that can also be created from a string representation of an integernumber
sExample
Fails