Module str
Expand description
str
Predicate factories
This module contains predicates specific to string handling.
Functionsยง
- Creates a new
Predicate
that ensures a str containspattern
- Creates a new
Predicate
that diffs two strings. - Creates a new
Predicate
that ensures a str ends withpattern
- Creates a new
Predicate
that ensures a str is empty - Creates a new
Predicate
that uses a regular expression to match the string. - Creates a new
Predicate
that checks strings for how similar they are. - Creates a new
Predicate
that ensures a str starts withpattern