mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
22 lines
399 B
Markdown
22 lines
399 B
Markdown
---
|
|
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
|