JanetDocsPlaygroundI'm feeling luckyGitHub sign in

symbol



    cfunction
    src/core/corelib.c on line 340, column 1

    (symbol & xs)

    Creates a symbol 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 symbol.


1 exampleSign in to add an example
Loading...
(symbol "foo")  # => foo

(def a "foo")
(symbol a)         # => foo
(symbol a 42 nil)  # => foo42nil
cellularmitosisPlayground