/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** * A basic filter expression. Usually a part of [`CompositeFilterDescriptor`](https://www.telerik.com/kendo-react-ui/components/datatools/api/compositefilterdescriptor). * * For more information, refer to the [`filterBy`](https://www.telerik.com/kendo-react-ui/components/datatools/api/filterby) method. */ export interface FilterDescriptor { /** * The field of the data item to which the filter operator is applied. */ field?: string | Function; /** * The filter operator (comparison). * * The supported operators are: * * `"eq"` (equal to) * * `"neq"` (not equal to) * * `"isnull"` (is equal to null) * * `"isnotnull"` (is not equal to null) * * `"lt"` (less than) * * `"lte"` (less than or equal to) * * `"gt"` (greater than) * * `"gte"` (greater than or equal to) * * The following operators are supported for string fields only: * * `"startswith"` * * `"endswith"` * * `"contains"` * * `"doesnotcontain"` * * `"isempty"` * * `"isnotempty"` */ operator: string | Function; /** * The value to which the field is compared. Has to be of the same type as the field. */ value?: any; /** * Determines if the string comparison is case-insensitive. */ ignoreCase?: boolean; }