This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Filters pipeline data to match items where the value of the specified field ends with a specified value.
The endsWith()
method refines the filter to only match items where the value of the specified field ends with the specified value. Matching with endsWith()
is not case sensitive, so "TEXT"
is considered to end with "ext"
.
You can only use endsWith()
with a field of type string or reference. When matching a field of type reference, endsWith()
matches by the ID of the referenced item as a string.
Field whose value is compared with the specified value.
Value to look for at the end of the specified field value.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.