Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new functions and update sort order #971

Merged
merged 6 commits into from
Sep 23, 2020
44 changes: 36 additions & 8 deletions assets/ExpressionMetadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@
"minimumArguments": 1,
"maximumArguments": null
},
{
"name": "createObject",
"expectedUsage": "createObject(key1, value1, key2, value2, ...)",
"description": "Creates an object from the keys and values provided in the arguments.\nAn even number of arguments must be provided.",
"minimumArguments": 2,
"maximumArguments": null
},
{
"name": "dataUri",
"expectedUsage": "dataUri(stringToConvert)",
Expand All @@ -106,13 +113,6 @@
"minimumArguments": 2,
"maximumArguments": 3
},
{
"name": "utcNow",
"expectedUsage": "utcNow([format])",
"description": "Returns the current (UTC) datetime value in the format provided. If no format is provided the ISO 8601 (yyyyMMddTHH:mm:ssZ) format will be used. This function may only be used as a defaultValue on a parameter.",
"minimumArguments": 0,
"maximumArguments": 1
},
{
"name": "deployment",
"expectedUsage": "deployment()",
Expand Down Expand Up @@ -217,6 +217,13 @@
"usesResourceIdCompletions"
]
},
{
"name": "false",
"expectedUsage": "false()",
"description": "Returns a boolean value that is always false.",
"minimumArguments": 0,
"maximumArguments": 0
},
{
"name": "first",
"expectedUsage": "first(arg1)",
Expand Down Expand Up @@ -604,6 +611,13 @@
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "null",
"expectedUsage": "null()",
"description": "Returns a value that is always null, equivalent to json('null').",
"minimumArguments": 0,
"maximumArguments": 0
},
{
"name": "or",
"expectedUsage": "or(arg1, arg2, ...)",
Expand Down Expand Up @@ -798,6 +812,13 @@
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "true",
"expectedUsage": "true()",
"description": "Returns a boolean value that is always true.",
"minimumArguments": 0,
"maximumArguments": 0
},
{
"name": "union",
"expectedUsage": "union(arg1, arg2, arg3, ...)",
Expand Down Expand Up @@ -833,6 +854,13 @@
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "utcNow",
"expectedUsage": "utcNow([format])",
"description": "Returns the current (UTC) datetime value in the format provided. If no format is provided the ISO 8601 (yyyyMMddTHH:mm:ssZ) format will be used. This function may only be used as a defaultValue on a parameter.",
"minimumArguments": 0,
"maximumArguments": 1
},
{
"name": "variables",
"expectedUsage": "variables(variableName)",
Expand All @@ -841,4 +869,4 @@
"maximumArguments": 1
}
]
}
}