Skip to content

Commit

Permalink
Update BuiltInFunctions list to updated schema
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Nov 22, 2023
1 parent 4d8c85b commit 3bf0bbe
Showing 1 changed file with 49 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"Parameters": [
{
"Name": "SecondsToWait",
"Type": "Number",
"Type": "number",
"Documentation": "You can use integers (whole numbers), or decimals.",
"IsParamsArray": false
}
Expand All @@ -31,11 +31,12 @@
"Parameters": [
{
"Name": "value",
"Type": "Any",
"Type": "any",
"Documentation": "",
"IsParamsArray": false
}
]
],
"ReturnType": "string"
},
{
"YarnName": "number",
Expand All @@ -45,11 +46,12 @@
"Parameters": [
{
"Name": "value",
"Type": "Any",
"Type": "any",
"Documentation": "",
"IsParamsArray": false
}
]
],
"ReturnType": "number"
},
{
"YarnName": "format_invariant",
Expand All @@ -59,11 +61,12 @@
"Parameters": [
{
"Name": "value",
"Type": "Number",
"Type": "number",
"Documentation": "",
"IsParamsArray": false
}
]
],
"ReturnType": "number"
},
{
"YarnName": "bool",
Expand All @@ -73,11 +76,12 @@
"Parameters": [
{
"Name": "value",
"Type": "Any",
"Type": "any",
"Documentation": "",
"IsParamsArray": false
}
]
],
"ReturnType": "bool"
},
{
"YarnName": "visited",
Expand All @@ -88,7 +92,7 @@
"Parameters": [
{
"Name": "node_name",
"Type": "String",
"Type": "string",
"Documentation": "",
"IsParamsArray": false
}
Expand All @@ -103,7 +107,7 @@
"Parameters": [
{
"Name": "node_name",
"Type": "String",
"Type": "string",
"Documentation": "",
"IsParamsArray": false
}
Expand All @@ -114,7 +118,8 @@
"DefinitionName": "random",
"Documentation": "Returns a random number between 0 and 1 each time you call it.",
"Signature": "random()",
"Parameters": []
"Parameters": [],
"ReturnType": "number"
},
{
"YarnName": "random_range",
Expand All @@ -124,17 +129,18 @@
"Parameters": [
{
"Name": "a",
"Type": "Number",
"Type": "number",
"Documentation": "Lower bound (inclusive)",
"IsParamsArray": false
},
{
"Name": "b",
"Type": "Number",
"Type": "number",
"Documentation": "Upper bound (inclusive)",
"IsParamsArray": false
}
]
],
"ReturnType": "number"
},
{
"YarnName": "dice",
Expand All @@ -144,11 +150,12 @@
"Parameters": [
{
"Name": "sides",
"Type": "Number",
"Type": "number",
"Documentation": "",
"IsParamsArray": false
}
]
],
"ReturnType": "number"
},
{
"YarnName": "round",
Expand All @@ -158,11 +165,12 @@
"Parameters": [
{
"Name": "n",
"Type": "Number",
"Type": "number",
"Documentation": "",
"IsParamsArray": false
}
]
],
"ReturnType": "number"
},
{
"YarnName": "round_places",
Expand All @@ -172,17 +180,18 @@
"Parameters": [
{
"Name": "n",
"Type": "Number",
"Type": "number",
"Documentation": "",
"IsParamsArray": false
},
{
"Name": "places",
"Type": "Number",
"Type": "number",
"Documentation": "",
"IsParamsArray": false
}
]
],
"ReturnType": "number"
},
{
"YarnName": "floor",
Expand All @@ -192,11 +201,12 @@
"Parameters": [
{
"Name": "n",
"Type": "Number",
"Type": "number",
"Documentation": "",
"IsParamsArray": false
}
]
],
"ReturnType": "number"
},
{
"YarnName": "ceil",
Expand All @@ -206,11 +216,12 @@
"Parameters": [
{
"Name": "n",
"Type": "Number",
"Type": "number",
"Documentation": "",
"IsParamsArray": false
}
]
],
"ReturnType": "number"
},
{
"YarnName": "inc",
Expand All @@ -220,11 +231,12 @@
"Parameters": [
{
"Name": "n",
"Type": "Number",
"Type": "number",
"Documentation": "",
"IsParamsArray": false
}
]
],
"ReturnType": "number"
},
{
"YarnName": "dec",
Expand All @@ -234,11 +246,12 @@
"Parameters": [
{
"Name": "n",
"Type": "Number",
"Type": "number",
"Documentation": "",
"IsParamsArray": false
}
]
],
"ReturnType": "number"
},
{
"YarnName": "decimal",
Expand All @@ -248,11 +261,12 @@
"Parameters": [
{
"Name": "n",
"Type": "Number",
"Type": "number",
"Documentation": "",
"IsParamsArray": false
}
]
],
"ReturnType": "number"
},
{
"YarnName": "int",
Expand All @@ -262,11 +276,12 @@
"Parameters": [
{
"Name": "n",
"Type": "Number",
"Type": "number",
"Documentation": "",
"IsParamsArray": false
}
]
],
"ReturnType": "number"
}
]
}

0 comments on commit 3bf0bbe

Please sign in to comment.