Browse Source

Update clarity-reference.json

`false` should be `true` here.
docs/add-vscode-ext-links
Rickey 4 years ago
committed by Patrick Gray
parent
commit
b5600ab447
  1. 2
      src/_data/clarity-reference.json

2
src/_data/clarity-reference.json

@ -133,7 +133,7 @@
"input_type": "bool, ...", "input_type": "bool, ...",
"output_type": "bool", "output_type": "bool",
"signature": "(or b1 b2 ...)", "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 `false`, 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 `true`, 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" "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