fn() endsWith
Check whether a string is a suffix of another string.

Defined in <seqan/sequence.h>
Signature bool endsWith(str, suffix);


str The string to check (A SegmentableConcept).
suffix The suffix to check for (A ContainerConcept).

Return Values

bool true if suffix is a suffix of str.

Data Races

If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.