#[
autogenerated by docgen
loc: /build/nim/src/nim/lib/std/private/jsutils.nim(77, 5)
rdoccmd: 
]#
import std/assertions
import "/build/nim/src/nim/lib/std/private/jsutils.nim"
{.line: ("/build/nim/src/nim/lib/std/private/jsutils.nim", 77, 5).}:
  import std/jsffi
  assert not "123".toJs.isSafeInteger
  assert 123.isSafeInteger
  assert 123.toJs.isSafeInteger
  when false:
    assert 9007199254740991.toJs.isSafeInteger
    assert not 9007199254740992.toJs.isSafeInteger

