JanetDocsPlaygroundI'm feeling luckyGitHub sign in

string/check-set



    cfunction
    src/core/string.c on line 466, column 1

    (string/check-set set str)

    Checks that the string `str` only contains bytes that appear in the 
    string `set`. Returns true if all bytes in `str` appear in `set`, 
    false if some bytes in `str` do not appear in `set`.


1 exampleSign in to add an example
Loading...
(string/check-set "0123456789abcdef" "deadbeef") # => true
sogaiuPlayground