dsl-builder-test
Version:
OpenSearch Query Builder - Extract from OpenSearch Dashboards
15 lines (14 loc) • 472 B
JavaScript
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Any modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/
export const isMissingFilter = (filter) => filter && filter.missing;
export const getMissingFilterField = (filter) => {
return filter.missing && filter.missing.field;
};