Deploy to GitHub pages
This commit is contained in:
commit
2ef2c469d1
850 changed files with 332608 additions and 0 deletions
13
nimcache/runnableExamples/jsutils_examples_1.nim
Normal file
13
nimcache/runnableExamples/jsutils_examples_1.nim
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#[
|
||||
autogenerated by docgen
|
||||
loc: /home/runner/work/Nim/Nim/lib/std/private/jsutils.nim(27, 5)
|
||||
rdoccmd:
|
||||
]#
|
||||
import "/home/runner/work/Nim/Nim/lib/std/private/jsutils.nim"
|
||||
{.line: ("/home/runner/work/Nim/Nim/lib/std/private/jsutils.nim", 27, 5).}:
|
||||
import std/[jsffi, jsbigints]
|
||||
assert jsTypeOf(1.toJs) == "number"
|
||||
assert jsTypeOf(false.toJs) == "boolean"
|
||||
assert [1].toJs.jsTypeOf == "object" # note the difference with `getProtoName`
|
||||
assert big"1".toJs.jsTypeOf == "bigint"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue