Added logic to tooltips

This commit is contained in:
2023-06-26 13:59:14 +02:00
parent 26cb947d9f
commit 1088d27fea
4 changed files with 141 additions and 25 deletions

View File

@@ -0,0 +1,43 @@
[
{
"name": "Number",
"entries": [
{
"name": "sum",
"description": "The sum function returns the sum, for each node in the argument node-set, of the result of converting the string-values of the node to a number.",
"arguments": [
{
"name": "$arg",
"type": "node-set",
"description": "Data to sum"
}
],
"output": "number",
"examples": [
{
"command": "sum()",
"output": "blablabla"
}
]
},
{
"name": "floor",
"description": "The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer.",
"arguments": [
{
"name": "$arg",
"type": "number",
"description": "Data to round"
}
],
"output": "number",
"examples": [
{
"command": "floor(3.6)",
"output": "3"
}
]
}
]
}
]