The maximum distance a number can be from another to be considered equivalent. This is to compensate for floating point precision issues.
Determines the absolute value of the given number.
The number to return the positive version of.
The absolute value of x.
Appends an element or array of elements to the end of the given array.
The array to append values to the end of.
The element or array of elements to append to the end.
The reference to the array
given.
Returns the first argument which is defined.
The first argument to look at.
The second argument to look at.
The first defined argument.
Calculates the greatest common denominator between the two numbers. If either of the numbers are not whole (integers) then 1 is immediately returned.
The first number.
The second number.
The greatest common denominator between the two numbers.
Determines whether the given input is an array.
The variable to test.
True if the variable is an array, otherwise false.
Determines whether the given input is defined.
The variable to test.
True if the variable is defined, otherwise false.
Determines if the given number is equal to another.
The first number to compare.
The second number to compare.
True if the two numbers are equal.
Determines whether the given input looks like a GroupDefinition.
The variable to inspect.
True if the variable appears to be a GroupDefinition.
Determines if the given number is valid. A valid number is finite and not NaN or Infinity.
The number to test.
True if the input is finite number.
Determines whether the given input looks like a RangeDefinition.
The variable to inspect.
True if the variable appears to be a RangeDefinition.
Determines if the given number is singular. A singular number is 1 or -1.
The number to test.
True if the number is singular, otherwise false.
Determines whether the given input is a string.
The variable to test.
True if the variable is a string, otherwise false.
Determines whether the given input looks like a ValueDefinition.
The variable to inspect.
True if the variable appears to be a ValueDefinition.
Determines if the given number is a whole number (integer).
The number to test.
True if the number is whole, otherwise false.
Determines if the given number is zero.
The number to test.
True if the number is zero, otherwise false.
Determines the sign of the given number. One of three values will be returned: 1, 0, or -1.
The number to determine the sign of.
The sign of the given number.
Trims the given input if its a string.
The string to remove space from the beginning and end.
A trimmed string.
Generated using TypeDoc
The class which contains commonly used functions by the library. These functions and variables exist in a class so they may be overridden if desired.