Browse Source

auto: update Clarity references JSONs from stacks-blockchain@fe8d3b2a8f3a77123753c10cbb25cb9c4b2e9cfd

docs/add-vscode-ext-links
PR Robot 4 years ago
committed by Patrick Gray
parent
commit
0341ea51a7
  1. 2
      src/_data/clarity-reference.json

2
src/_data/clarity-reference.json

@ -253,7 +253,7 @@
"input_type": "VarName, AnyType",
"output_type": "bool",
"signature": "(var-set var-name expr1)",
"description": "The `var-set` function sets the value associated with the input variable to the\ninputted value.",
"description": "The `var-set` function sets the value associated with the input variable to the\ninputted value. The function always returns `true`.",
"example": "\n(define-data-var cursor int 6)\n(var-get cursor) ;; Returns 6\n(var-set cursor (+ (var-get cursor) 1)) ;; Returns true\n(var-get cursor) ;; Returns 7"
},
{

Loading…
Cancel
Save