Skip to content

Commit

Permalink
Include random_range_float in builtin ysls
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Dec 13, 2024
1 parent 0fca50f commit 20d96fe
Showing 1 changed file with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,27 @@
],
"ReturnType": "number"
},
{
"YarnName": "random_range_float",
"DefinitionName": "random_range",
"Documentation": "Returns a random floating point value between a and b, inclusive.",
"Signature": "random_range_float(a, b)",
"Parameters": [
{
"Name": "a",
"Type": "number",
"Documentation": "Lower bound (inclusive)",
"IsParamsArray": false
},
{
"Name": "b",
"Type": "number",
"Documentation": "Upper bound (inclusive)",
"IsParamsArray": false
}
],
"ReturnType": "number"
},
{
"YarnName": "dice",
"DefinitionName": "dice",
Expand Down Expand Up @@ -305,4 +326,4 @@
"ReturnType": "string"
}
]
}
}

0 comments on commit 20d96fe

Please sign in to comment.