summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/hasSuffix.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/hasSuffix.md')
-rw-r--r--docs/content/en/functions/hasSuffix.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/content/en/functions/hasSuffix.md b/docs/content/en/functions/hasSuffix.md
new file mode 100644
index 000000000..9906cc2c3
--- /dev/null
+++ b/docs/content/en/functions/hasSuffix.md
@@ -0,0 +1,21 @@
+---
+title: hassuffix
+linktitle: hasSuffix
+description: Tests whether a string ends with suffix.
+date: 2023-03-01
+publishdate: 2023-03-01
+lastmod: 2023-03-01
+categories: [functions]
+menu:
+docs:
+parent: "functions"
+keywords: [strings]
+signature: ["hasSuffix STRING SUFFIX"]
+workson: []
+hugoversion:
+relatedfuncs: [hasPrefix]
+deprecated: false
+aliases: []
+---
+
+* `{{ hasSuffix "Hugo" "go" }}` → true \ No newline at end of file