Expand description
Checks whether subject
ends with end
.
Arguments
subject
- The string to verify.end
- The ending string.
Example
use voca_rs::*;
query::ends_with("say hello to my little friend", "little friend");
// => true
query::ends_with("say hello to my little friend", "little");
// => false
use voca_rs::Voca;
"say hello to my little friend"._ends_with("little friend");
// => true