@yantrix/functions v0.6.0 • Docs
Yantrix API / @yantrix/functions / Transformers / log
Function: log() ​
ts
function log(num, base): numberCalculates the logarithm of a number with a specified base.
Parameters ​
• num: number
The number to calculate the logarithm of.
• base: number
The base of the logarithm.
Returns ​
number
The logarithm of the number with the specified base.