Skip to main content

linear.stringcomparator

Home > @runlightyear/linear > StringComparator

StringComparator interface

Signature:
interface StringComparator 

Optional Properties

PropertyModifiersTypeDescription
contains?stringContains constraint. Matches any values that contain the given string.
containsIgnoreCase?stringContains case insensitive constraint. Matches any values that contain the given string case insensitive.
endsWith?stringEnds with constraint. Matches any values that end with the given string.
eq?stringEquals constraint.
eqIgnoreCase?stringEquals case insensitive. Matches any values that matches the given string case insensitive.
in?Array<string>In-array constraint.
neq?stringNot-equals constraint.
neqIgnoreCase?stringNot-equals case insensitive. Matches any values that don't match the given string case insensitive.
nin?Array<string>Not-in-array constraint.
notContains?stringDoesn't contain constraint. Matches any values that don't contain the given string.
notContainsIgnoreCase?stringDoesn't contain case insensitive constraint. Matches any values that don't contain the given string case insensitive.
notEndsWith?stringDoesn't end with constraint. Matches any values that don't end with the given string.
notStartsWith?stringDoesn't start with constraint. Matches any values that don't start with the given string.
startsWith?stringStarts with constraint. Matches any values that start with the given string.