{
"id": "fn-string-ends_with",
"dataComponent": "string",
"heading": {
"title": "ends_with",
"badges": ["String", "PARTIAL"]
},
"synopsis": "Checks if a string ends with a given substring. Partial/placeholder usage supported.",
"codeBlocks": [
"extend(\"string\")\n\nsput( string:ends_with(\"lo\", \"hello\") )\n# => true"
],
"notes": [
"Arguments: substring, string.",
"Returns Bool.",
"Partial and _ supported."
]
}