Commit 5fff6eec authored by Robert Knight's avatar Robert Knight

Add a note about what a numeric query term value means

parent 61390516
...@@ -58,7 +58,8 @@ function normalize(val) { ...@@ -58,7 +58,8 @@ function normalize(val) {
class TermFilter { class TermFilter {
/** /**
* @param {string} field - Name of field to match * @param {string} field - Name of field to match
* @param {string|number} term - Query term * @param {string|number} term - Query term or value. Most fields use string
* terms, but eg. `since` is parsed into a number first.
* @param {Checker} checker - Functions for extracting term values from * @param {Checker} checker - Functions for extracting term values from
* an annotation and checking whether they match a query term. * an annotation and checking whether they match a query term.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment