Class FlowGraphInteger
Constructors
constructor
-
Parameters
- value: number
Returns FlowGraphInteger
Properties
Readonlyvalue
The value of the integer. Its type is a javascript number. Shouldn't be directly modified - it is populated by the constructor.
StaticClass Name
The class name of this type
Methods
add
-
Adds two integers together.
Parameters
- other: FlowGraphInteger
the other integer to add
Returns FlowGraphInteger
a FlowGraphInteger with the result of the addition
- other: FlowGraphInteger
divide
-
Divides two integers.
Parameters
- other: FlowGraphInteger
the other integer to divide
Returns FlowGraphInteger
a FlowGraphInteger with the result of the division
- other: FlowGraphInteger
equals
-
Compares two integers for equality.
Parameters
- other: FlowGraphInteger
the other integer to compare
Returns boolean
true if the integers are equal
- other: FlowGraphInteger
get Class Name
-
The class name of this type.
Returns string
multiply
-
Multiplies two integers.
Parameters
- other: FlowGraphInteger
the other integer to multiply
Returns FlowGraphInteger
a FlowGraphInteger with the result of the multiplication
- other: FlowGraphInteger
subtract
-
Subtracts two integers.
Parameters
- other: FlowGraphInteger
the other integer to subtract
Returns FlowGraphInteger
a FlowGraphInteger with the result of the subtraction
- other: FlowGraphInteger
to String
-
Returns a string representation of this integer
Returns string
the string representation
StaticFrom Value
-
Parses a FlowGraphInteger from a serialization object.
Parameters
- value: number
te number to parse
Returns FlowGraphInteger
a new FlowGraphInteger
- value: number
Class that represents an integer value.