function
boot.janet on line 2976, column 1
(all-bindings &opt env local)
Get all symbols available in an environment. Defaults to the
current fiber's environment. If `local` is truthy, will not show
inherited bindings (from prototype tables).
(pp (all-bindings))
# => prints @[% %= * ... yield zero? zipcoll]
(def a "A")
(pp (all-bindings (curenv) true))
# => prints @[_ a] - only local bindings are listed
(filter (partial string/has-prefix? "z") (all-bindings)) # => @[zero? zipcoll]