JanetDocsPlaygroundI'm feeling luckyGitHub sign in

symbol/slice



    cfunction

    (symbol/slice bytes &opt start end)

    Same a string/slice, but returns a symbol.


1 exampleSign in to add an example
Loading...
(def s (symbol/slice :hello 2 4))

(print (type s)) # symbol
(print s)        # ll
wrqPlayground