JanetDocsPlaygroundI'm feeling luckyGitHub sign in

all-dynamics



    function
    boot.janet on line 1773, column 1

    (all-dynamics &opt env local)

    Get all dynamic bindings in an environment. Defaults to the current
    fiber's environment. If local is truthy, will not show inherited
    bindings (from prototype tables).


1 exampleSign in to add an example
Loading...
(all-dynamics)
# => @[:args :err-color :executable :peg-grammar :pretty-format :syspath]

(setdyn :fixed true)
(all-dynamics)
# => @[:args :err-color :executable :fixed :peg-grammar :pretty-format :syspath]
pepePlayground