File: ends_with.md

package info (click to toggle)
jsoncons 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 18,276 kB
  • sloc: cpp: 143,266; sh: 34; makefile: 8
file content (17 lines) | stat: -rw-r--r-- 274 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
### ends_with

```
boolean ends_with(string source, string suffix)
```

Returns true if the source string ends with the suffix string, otherwise false.

It is a type error if 

- the provided source is not a string, or

- the provided suffix is not a string

### Examples