JanetDocsSign in with Github

string/check-set



    cfunction

    (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
sogaiu