JanetDocsPlaygroundI'm feeling luckyGitHub sign in

doc



    macro
    boot.janet on line 2060, column 1

    (doc &opt sym)

    Shows documentation for the given symbol, or can show a list of
    available bindings. If sym is a symbol, will look for documentation
    for that symbol. If sym is a string or is not provided, will show all
    lexical and dynamic bindings in the current environment with that
    prefix (all bindings will be shown if no prefix is given).


1 exampleSign in to add an example
Loading...
# Find all bindings (in the current environment) with "push" in the name.
(doc "push")

#    Bindings:
#
#    array/push buffer/push buffer/push-byte buffer/push-string
#    buffer/push-word
#
#    Dynamics:
#
#
#
#    Use (doc sym) for more information on a binding.
uvtcPlayground