JanetDocsPlaygroundI'm feeling luckyGitHub sign in

string/has-suffix?



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

    (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