[Pitch] Add `ends(with:)` support in `#Predicate`
Swift Forums
[Pitch] Add `ends(with:)` support in `#Predicate`
Add ends(with:) support in #Predicate Proposal: SF-NNNN Author: Mateus Rodrigues Introduction Predicate supports a fixed set of sequence and string operations through #Predicate, which includes starts(with:) but not its counterpart, ends(with:). This proposal adds ends(with:) to the operations #Predicate accepts. The ends(with:)API currently ships in swift-algorithms. There's a separated pitch to move it to the standard library. Motivation Checking whether a string starts with a prefix or ...
0 comments
No comments yet.