cts.notQueryWeight( query as cts.notQuery ) as Number
Returns the weight with which the specified query was constructed.
const query = cts.notQuery("MarkLogic Server); cts.notQueryWeight(query); => 1