JanetDocsPlaygroundI'm feeling luckyGitHub sign in

string/has-suffix?



    cfunction

    (string/has-suffix? sfx str)

    Tests whether str ends with sfx.


1 exampleSign in to add an example
Loading...
(string/has-suffix? ".janet" "code.janet") # => true
sogaiuPlayground