JanetDocsSourcePlaygroundTutorialsI'm Feeling luckyCommunityGitHub sign in

doc

core-api


    macro
    boot.janet on line 3939, column 1

    (doc &opt what)

    Shows documentation for `what` or lists binding names. If `what` is 
    a symbol, shows documentation for that symbol. If `what` is a 
    string, shows all lexical and dynamic binding names in the current 
    environment containing the string. If `what` is not provided, shows 
    all binding names.


2 examplesSign in to add an example
Loading...
(doc string)


# =>    cfunction
# =>    ../src/core/corelib.c on line 349, column 1
# =>
# =>    (string & xs)
# =>
# =>    Creates a string by concatenating the elements of xs together. If
# =>    an element is not a byte sequence, it is converted to bytes via
# =>    describe. Returns the new string.


# nil
jgartePlayground
# 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