blob: c6b5f4ded59cd491ca94bef5de9bac5228ce7a5c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
---
title: strings.HasSuffix
description: Reports whether the given string ends with the given suffix.
categories: []
keywords: []
params:
functions_and_methods:
aliases: [hasSuffix]
returnType: bool
signatures: [strings.HasSuffix STRING SUFFIX]
aliases: [/functions/hassuffix,/functions/strings/hassuffix]
---
```go-html-template
{{ hasSuffix "Hugo" "go" }} → true
```
|