Function median

  • Find the value separating the higher and lower halves of bigints.

    Returns

    xₘ | sort(xs) = [..., xₘ, ...]

    Parameters

    • Rest ...xs: bigint[]

      a list of bigints

    Returns bigint

Generated using TypeDoc