node-cooper - v0.2.0
    Preparing search index...

    Function normalizeInteger

    • The integer representation every loaded integer uses: a plain number whenever it is exactly representable (Number.isSafeInteger), a bigint only beyond that. Elixir integers are arbitrary-precision, so this keeps every CASC integer exact without making the overwhelmingly common case (port = 8080) awkward to use.

      Parameters

      • value: bigint

      Returns number | bigint