Adds all of the given numbers.
Accepts int and float.
If any floats are given, float is returned.
If no floats are given, int is returned.
add(1, 2, 3) // 5 [1, 2, 3].add($this...) // 5
Last updated 1 year ago