{"id":427,"date":"2021-02-18T12:52:21","date_gmt":"2021-02-18T12:52:21","guid":{"rendered":"http:\/\/167.71.55.215\/?page_id=427"},"modified":"2023-05-01T12:40:17","modified_gmt":"2023-05-01T12:40:17","slug":"operators","status":"publish","type":"page","link":"https:\/\/info.documotor.com\/?page_id=427","title":{"rendered":"Comparison Operators"},"content":{"rendered":"\n<p>The comparison operators presented below can be used to perform calculations as well as filter a dataset. A list of comparison operators can be found <a rel=\"noreferrer noopener\" href=\"https:\/\/jmespath.org\/specification.html#comparison-operators\" data-type=\"URL\" data-id=\"https:\/\/jmespath.org\/specification.html#comparison-operators\" target=\"_blank\">here<\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"json\" class=\"language-json\">==, tests for equality.\n!=, tests for inequality.\n&lt;, less than.\n&lt;=, less than or equal to.\n&gt;, greater than.\n&gt;=, greater than or equal to.<\/code><\/pre>\n\n\n\n<p>The example below shows how to perform a comparison of two values, where we check if one value is greater than the other.<\/p>\n\n\n\n<pre title=\"Data\" class=\"wp-block-code\"><code lang=\"json\" class=\"language-json line-numbers\">{\n   \"FirstValue\": 10,\n   \"SecondValue\": 16,\n   \"ThirdValue\": 8\n}<\/code><\/pre>\n\n\n\n<p><code>FirstValue &gt; SecondValue<\/code> where FirstValue is 10, and the SecondValue is 16. This yields a result that is <code>False<\/code>.<\/p>\n\n\n\n<div class=\"wp-container-1 wp-block-buttons\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The comparison operators presented below can be used to perform calculations as well as filter a dataset. A list of comparison operators can be found here. The example below shows how to perform a comparison of two values, where we check if one value is greater than the other. FirstValue &gt; SecondValue where FirstValue is [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":2252,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/427"}],"collection":[{"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/info.documotor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=427"}],"version-history":[{"count":16,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/427\/revisions"}],"predecessor-version":[{"id":5484,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/427\/revisions\/5484"}],"up":[{"embeddable":true,"href":"https:\/\/info.documotor.com\/index.php?rest_route=\/wp\/v2\/pages\/2252"}],"wp:attachment":[{"href":"https:\/\/info.documotor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}