cts.elementQueryQuery( query as cts.elementQuery ) as cts.query
Returns the query used to construct the element query.
Parameters | |
---|---|
query | A query. |
const query = cts.elementQuery(xs.QName("help"), cts.wordQuery("wanted")); cts.elementQueryQuery(query); // Returns a cts.wordQuery