Expand description
str Predicate factories
This module contains predicates specific to string handling.
Functionsยง
- contains
- Creates a new
Predicatethat ensures a str containspattern - diff
- Creates a new
Predicatethat diffs two strings. - ends_
with - Creates a new
Predicatethat ensures a str ends withpattern - is_
empty - Creates a new
Predicatethat ensures a str is empty - is_
match - Creates a new
Predicatethat uses a regular expression to match the string. - starts_
with - Creates a new
Predicatethat ensures a str starts withpattern