Documentation
    Preparing search index...

    Variable logOfBaseConst

    logOfBase: (base: number, x: number) => number

    Returns the logarithm of a number with a specified base

    Type declaration

      • (base: number, x: number): number
      • Parameters

        • base: number

          base of the logarithm

        • x: number

          value to the function

        Returns number

        the logarithm of x with the specified base

    import { logOfBase } from '@kitsuyui/mymath'
    logOfBase(2, 8) // => 3