RosettaCodeData/Task/String-matching/Jq/string-matching-3.jq

4 lines
62 B
Plaintext

# endswith/1 is also boolean:
"abc" | endswith("bc")
#=> true