Browse Source

Revert "Update clarity-reference.json"

This reverts commit b5600ab447.
docs/add-vscode-ext-links
Patrick Gray 3 years ago
parent
commit
317017cd51
  1. 2
      src/_data/clarity-reference.json

2
src/_data/clarity-reference.json

@ -133,7 +133,7 @@
"input_type": "bool, ...",
"output_type": "bool",
"signature": "(or b1 b2 ...)",
"description": "Returns `true` if any boolean inputs are `true`. Importantly, the supplied arguments are evaluated in-order and lazily. Lazy evaluation means that if one of the arguments returns `true`, the function short-circuits, and no subsequent arguments are evaluated.",
"description": "Returns `true` if any boolean inputs are `true`. Importantly, the supplied arguments are evaluated in-order and lazily. Lazy evaluation means that if one of the arguments returns `false`, the function short-circuits, and no subsequent arguments are evaluated.",
"example": "(or true false) ;; Returns true\n(or (is-eq (+ 1 2) 1) (is-eq 4 4)) ;; Returns true\n(or (is-eq (+ 1 2) 1) (is-eq 3 4)) ;; Returns false\n(or (is-eq (+ 1 2) 3) (is-eq 4 4)) ;; Returns true\n"
},
{

Loading…
Cancel
Save