cts.notInQueryPositiveQuery( query as cts.notInQuery ) as cts.query
Returns the positive (first parameter) query used to construct the specified query.
Parameters | |
---|---|
query | A query. |
const query = cts.notInQuery( cts.wordQuery("wanted"), cts.wordQuery("not wanted")); cts.notInQueryPositiveQuery(query); => cts:word-query("wanted", (), 1)