We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce4a0ed commit 0341ea5Copy full SHA for 0341ea5
src/_data/clarity-reference.json
@@ -253,7 +253,7 @@
253
"input_type": "VarName, AnyType",
254
"output_type": "bool",
255
"signature": "(var-set var-name expr1)",
256
- "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`.",
257
"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"
258
},
259
{
0 commit comments