JanetDocsI'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
sogaiu