Functions
add
- add(augend: number, addend: number): number
-
Parameters
-
augend: number
-
addend: number
Returns number
ceil
- ceil(num: number, precision?: number): any
-
Parameters
-
num: number
-
precision: number = 0
Returns any
divide
- divide(dividend: number, divisor: number): number
-
Parameters
-
dividend: number
-
divisor: number
Returns number
floor
- floor(num: number, precision?: number): any
-
Parameters
-
num: number
-
precision: number = 0
Returns any
max
-
Parameters
Returns number
maxBy
- maxBy(arr: any, fn: any): any
mean
-
Parameters
Returns number
meanBy
- meanBy(arr: any, fn: any): number
-
Parameters
Returns number
min
-
Parameters
Returns number
minBy
- minBy(arr: any, fn: any): any
mod
- mod(a: number, b: number): number
-
Parameters
Returns number
multiply
- multiply(multiplier: number, multiplicand: number): number
-
Parameters
-
multiplier: number
-
multiplicand: number
Returns number
round
- round(num: number, precision?: number): any
-
Parameters
-
num: number
-
precision: number = 0
Returns any
subtract
- subtract(minuend: number, subtrahend: number): number
-
Parameters
-
minuend: number
-
subtrahend: number
Returns number
sumBy
- sumBy(arr: any, fn: any): any
https://lodash.com/docs/4.17.15#add