Add doc for isNumber predicate.

This commit is contained in:
jcamiel 2024-04-10 11:04:27 +02:00 committed by hurl-bot
parent defc3d1cf1
commit 76394943ce
No known key found for this signature in database
GPG Key ID: 1283A2B4A0DCAF8D

View File

@ -182,10 +182,11 @@ Predicates consist of a predicate function and a predicate value. Predicate func
| __`exists`__ | Query returns a value | `jsonpath "$.book" exists` |
| __`isBoolean`__ | Query returns a boolean | `jsonpath "$.succeeded" isBoolean` |
| __`isCollection`__ | Query returns a collection | `jsonpath "$.books" isCollection` |
| __`isIsoDate`__ | Query string returns a [RFC 3339] date (`YYYY-MM-DDTHH:mm:ss.sssZ`) | `jsonpath "$.publication_date" isIsoDate` |
| __`isEmpty`__ | Query returns an empty collection | `jsonpath "$.movies" isEmpty` |
| __`isFloat`__ | Query returns a float | `jsonpath "$.height" isFloat` |
| __`isInteger`__ | Query returns an integer | `jsonpath "$.count" isInteger` |
| __`isIsoDate`__ | Query string returns a [RFC 3339] date (`YYYY-MM-DDTHH:mm:ss.sssZ`) | `jsonpath "$.publication_date" isIsoDate` |
| __`isNumber`__ | Query returns an integer or a float | `jsonpath "$.count" isNumber` |
| __`isString`__ | Query returns a string | `jsonpath "$.name" isString` |