Subtracts a list of numbers from a given number.
The result of subtracting all the numbers from the initial number.
An error if the from parameter is not a valid number or if the numbers parameter is an empty array.
from
numbers
The initial number to subtract from.
Rest
A list of numbers to subtract from the initial number.
Generated using TypeDoc
Subtracts a list of numbers from a given number.
Returns
The result of subtracting all the numbers from the initial number.
Throws
An error if the
from
parameter is not a valid number or if thenumbers
parameter is an empty array.