mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
1932 lines
47 KiB
JSON
1932 lines
47 KiB
JSON
{
|
|
"signatures": [
|
|
{
|
|
"name": "toBoolean(integer) boolean",
|
|
"function_name": "toBoolean",
|
|
"doc": "Converts argument value to boolean type. Returns true if argument is 1, false if argument is 0, error if argument is other.",
|
|
"arguments": [
|
|
{
|
|
"type": "integer",
|
|
"doc": "Integer value to convert."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "toBoolean(string) boolean",
|
|
"function_name": "toBoolean",
|
|
"doc": "Converts argument value to boolean type. Returns true if argument is \"true\", false if argument is \"false\", error if argument is other.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "String value to convert."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "toInteger(boolean) integer",
|
|
"function_name": "toInteger",
|
|
"doc": "Converts argument value to integer type. Returns 1 if argument is true, 0 if argument is false.",
|
|
"arguments": [
|
|
{
|
|
"type": "boolean",
|
|
"doc": "Boolean value to convert."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "toInteger(number) integer",
|
|
"function_name": "toInteger",
|
|
"doc": "Converts argument value to integer type. Rounds number value down. Returns integer value.",
|
|
"arguments": [
|
|
{
|
|
"type": "number",
|
|
"doc": "Number value to convert."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "toInteger(string) integer",
|
|
"function_name": "toInteger",
|
|
"doc": "Converts argument value to integer type. Returns integer value.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "String value to convert."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "toNumber(integer) number",
|
|
"function_name": "toNumber",
|
|
"doc": "Converts argument value to number type. Returns number value.",
|
|
"arguments": [
|
|
{
|
|
"type": "integer",
|
|
"doc": "Integer value to convert."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "toNumber(string) number",
|
|
"function_name": "toNumber",
|
|
"doc": "Converts argument value to number type. Returns number value.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "String value to convert."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "toString(boolean) string",
|
|
"function_name": "toString",
|
|
"doc": "Converts argument value to string type. Returns string value.",
|
|
"arguments": [
|
|
{
|
|
"type": "boolean",
|
|
"doc": "Boolean value to convert."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "toString(integer) string",
|
|
"function_name": "toString",
|
|
"doc": "Converts argument value to string type. Returns string value.",
|
|
"arguments": [
|
|
{
|
|
"type": "integer",
|
|
"doc": "Integer value to convert."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "toString(number) string",
|
|
"function_name": "toString",
|
|
"doc": "Converts argument value to string type. Returns string value.",
|
|
"arguments": [
|
|
{
|
|
"type": "number",
|
|
"doc": "Number value to convert."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "toString(color) string",
|
|
"function_name": "toString",
|
|
"doc": "Converts argument value to string type. Returns string value.",
|
|
"arguments": [
|
|
{
|
|
"type": "color",
|
|
"doc": "Color value to convert."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "toString(url) string",
|
|
"function_name": "toString",
|
|
"doc": "Converts argument value to string type. Returns string value.",
|
|
"arguments": [
|
|
{
|
|
"type": "url",
|
|
"doc": "Url value to convert."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "toColor(str) color",
|
|
"function_name": "toColor",
|
|
"doc": "Converts argument value to color type. Returns color value.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "String value to convert."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "toUrl(str) url",
|
|
"function_name": "toUrl",
|
|
"doc": "Converts argument value to url type. Returns url value.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "String value to convert."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getIntegerValue(string, integer) integer",
|
|
"function_name": "getIntegerValue",
|
|
"doc": "Returns the value of a variable by its name. If the variable doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Variable name."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getNumberValue(string, number) number",
|
|
"function_name": "getNumberValue",
|
|
"doc": "Returns the value of a variable by its name. If the variable doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Variable name."
|
|
},
|
|
{
|
|
"type": "number",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getStringValue(string, string) string",
|
|
"function_name": "getStringValue",
|
|
"doc": "Returns the value of a variable by its name. If the variable doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Variable name."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getUrlValue(string, url) url",
|
|
"function_name": "getUrlValue",
|
|
"doc": "Returns the value of a variable by its name. If the variable doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Variable name."
|
|
},
|
|
{
|
|
"type": "url",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getUrlValue(string, string) url",
|
|
"function_name": "getUrlValue",
|
|
"doc": "Returns the value of a variable by its name. If the variable doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Variable name."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getColorValue(string, color) color",
|
|
"function_name": "getColorValue",
|
|
"doc": "Returns the value of a variable by its name. If the variable doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Variable name."
|
|
},
|
|
{
|
|
"type": "color",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getColorValue(string, string) color",
|
|
"function_name": "getColorValue",
|
|
"doc": "Returns the value of a variable by its name. If the variable doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Variable name."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getBooleanValue(string, boolean) boolean",
|
|
"function_name": "getBooleanValue",
|
|
"doc": "Returns the value of a variable by its name. If the variable doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Variable name."
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"android",
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictString(dict, vararg string) string",
|
|
"function_name": "getDictString",
|
|
"doc": "Returns a string value from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"web",
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictNumber(dict, vararg string) number",
|
|
"function_name": "getDictNumber",
|
|
"doc": "Returns a number value from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"web",
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictInteger(dict, vararg string) integer",
|
|
"function_name": "getDictInteger",
|
|
"doc": "Returns an integer value from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"web",
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictBoolean(dict, vararg string) boolean",
|
|
"function_name": "getDictBoolean",
|
|
"doc": "Returns a boolean property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"web",
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictColor(dict, vararg string) color",
|
|
"function_name": "getDictColor",
|
|
"doc": "Returns a color property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"web",
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictUrl(dict, vararg string) url",
|
|
"function_name": "getDictUrl",
|
|
"doc": "Returns an url property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictOptString(string, dict, vararg string) string",
|
|
"function_name": "getDictOptString",
|
|
"doc": "Returns an optional string property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value if property does not exist or a property value is not a string."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"web",
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictOptNumber(number, dict, vararg string) number",
|
|
"function_name": "getDictOptNumber",
|
|
"doc": "Returns an optional number property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "number",
|
|
"doc": "Fallback value if property does not exist or a property value is not a number."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"web",
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictOptInteger(integer, dict, vararg string) integer",
|
|
"function_name": "getDictOptInteger",
|
|
"doc": "Returns an optional integer property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "integer",
|
|
"doc": "Fallback value if property does not exist or a property value is not an integer."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"web",
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictOptBoolean(boolean, dict, vararg string) boolean",
|
|
"function_name": "getDictOptBoolean",
|
|
"doc": "Returns an optional boolean property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "boolean",
|
|
"doc": "Fallback value if property does not exist or a property value is not a boolean."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"web",
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictOptColor(color, dict, vararg string) color",
|
|
"function_name": "getDictOptColor",
|
|
"doc": "Returns an optional color property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "color",
|
|
"doc": "Fallback value if property does not exist or a property value is not a color."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"web",
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictOptColor(string, dict, vararg string) color",
|
|
"function_name": "getDictOptColor",
|
|
"doc": "Returns an optional color property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value if property does not exist or a property value is not a color."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"web",
|
|
"ios",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictOptUrl(url, dict, vararg string) url",
|
|
"function_name": "getDictOptUrl",
|
|
"doc": "Returns an optional url property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "url",
|
|
"doc": "Fallback value if property does not exist or a property value is not an url."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictOptUrl(string, dict, vararg string) url",
|
|
"function_name": "getDictOptUrl",
|
|
"doc": "Returns an optional url property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value if property does not exist or a property value is not an url."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"web",
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getStringFromDict(dict, vararg string) string",
|
|
"function_name": "getStringFromDict",
|
|
"doc": "Returns a string value from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getNumberFromDict(dict, vararg string) number",
|
|
"function_name": "getNumberFromDict",
|
|
"doc": "Returns a number value from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getIntegerFromDict(dict, vararg string) integer",
|
|
"function_name": "getIntegerFromDict",
|
|
"doc": "Returns an integer value from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getBooleanFromDict(dict, vararg string) boolean",
|
|
"function_name": "getBooleanFromDict",
|
|
"doc": "Returns a boolean property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getColorFromDict(dict, vararg string) color",
|
|
"function_name": "getColorFromDict",
|
|
"doc": "Returns a color property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getUrlFromDict(dict, vararg string) url",
|
|
"function_name": "getUrlFromDict",
|
|
"doc": "Returns an url property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptStringFromDict(string, dict, vararg string) string",
|
|
"function_name": "getOptStringFromDict",
|
|
"doc": "Returns an optional string property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value if property does not exist or a property value is not a string."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptNumberFromDict(number, dict, vararg string) number",
|
|
"function_name": "getOptNumberFromDict",
|
|
"doc": "Returns an optional number property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "number",
|
|
"doc": "Fallback value if property does not exist or a property value is not a number."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptIntegerFromDict(integer, dict, vararg string) integer",
|
|
"function_name": "getOptIntegerFromDict",
|
|
"doc": "Returns an optional integer property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "integer",
|
|
"doc": "Fallback value if property does not exist or a property value is not an integer."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptBooleanFromDict(boolean, dict, vararg string) boolean",
|
|
"function_name": "getOptBooleanFromDict",
|
|
"doc": "Returns an optional boolean property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "boolean",
|
|
"doc": "Fallback value if property does not exist or a property value is not a boolean."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptColorFromDict(color, dict, vararg string) color",
|
|
"function_name": "getOptColorFromDict",
|
|
"doc": "Returns an optional color property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "color",
|
|
"doc": "Fallback value if property does not exist or a property value is not a color."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptColorFromDict(string, dict, vararg string) color",
|
|
"function_name": "getOptColorFromDict",
|
|
"doc": "Returns an optional color property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value if property does not exist or a property value is not a color."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptUrlFromDict(url, dict, vararg string) url",
|
|
"function_name": "getOptUrlFromDict",
|
|
"doc": "Returns an optional url property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "url",
|
|
"doc": "Fallback value if property does not exist or a property value is not an url."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptUrlFromDict(string, dict, vararg string) url",
|
|
"function_name": "getOptUrlFromDict",
|
|
"doc": "Returns an optional url property from dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value if property does not exist or a property value is not an url."
|
|
},
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dictionary."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayString(array, integer) string",
|
|
"function_name": "getArrayString",
|
|
"doc": "Returns a string value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayNumber(array, integer) number",
|
|
"function_name": "getArrayNumber",
|
|
"doc": "Returns a number value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayInteger(array, integer) integer",
|
|
"function_name": "getArrayInteger",
|
|
"doc": "Returns an integer value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayBoolean(array, integer) boolean",
|
|
"function_name": "getArrayBoolean",
|
|
"doc": "Returns a boolean property from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayColor(array, integer) color",
|
|
"function_name": "getArrayColor",
|
|
"doc": "Returns a color property from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayOptString(array, integer, string) string",
|
|
"function_name": "getArrayOptString",
|
|
"doc": "Returns an optional string property from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value if value by index not exists or it's is not a string."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayOptNumber(array, integer, number) number",
|
|
"function_name": "getArrayOptNumber",
|
|
"doc": "Returns an optional number property from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "number",
|
|
"doc": "Fallback value if value by index not exists or it's is not a number."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayOptInteger(array, integer, integer) integer",
|
|
"function_name": "getArrayOptInteger",
|
|
"doc": "Returns an optional integer property from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Fallback value if property does not exist or a property value is not an integer."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayOptBoolean(array, integer, boolean) boolean",
|
|
"function_name": "getArrayOptBoolean",
|
|
"doc": "Returns an optional boolean value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"doc": "Fallback value if value by index not exists or it's is not a boolean."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayOptColor(array, integer, color) color",
|
|
"function_name": "getArrayOptColor",
|
|
"doc": "Returns an optional color value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "color",
|
|
"doc": "Fallback value if value by index not exists or it's is not a color."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayOptColor(array, integer, string) color",
|
|
"function_name": "getArrayOptColor",
|
|
"doc": "Returns an optional color value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value if value by index not exists or it's is not a color."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayUrl(array, integer) url",
|
|
"function_name": "getArrayUrl",
|
|
"doc": "Returns an url value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayOptUrl(array, integer, url) url",
|
|
"function_name": "getArrayOptUrl",
|
|
"doc": "Returns an optional url value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "url",
|
|
"doc": "Fallback value if value by index not exists or it's is not a url."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayOptUrl(array, integer, string) url",
|
|
"function_name": "getArrayOptUrl",
|
|
"doc": "Returns an optional url value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value if value by index not exists or it's is not a url."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"ios",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getStringFromArray(array, integer) string",
|
|
"function_name": "getStringFromArray",
|
|
"doc": "Returns a string value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getNumberFromArray(array, integer) number",
|
|
"function_name": "getNumberFromArray",
|
|
"doc": "Returns a number value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getIntegerFromArray(array, integer) integer",
|
|
"function_name": "getIntegerFromArray",
|
|
"doc": "Returns an integer value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getBooleanFromArray(array, integer) boolean",
|
|
"function_name": "getBooleanFromArray",
|
|
"doc": "Returns a boolean property from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getColorFromArray(array, integer) color",
|
|
"function_name": "getColorFromArray",
|
|
"doc": "Returns a color property from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptStringFromArray(array, integer, string) string",
|
|
"function_name": "getOptStringFromArray",
|
|
"doc": "Returns an optional string property from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value if value by index not exists or it's is not a string."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptNumberFromArray(array, integer, number) number",
|
|
"function_name": "getOptNumberFromArray",
|
|
"doc": "Returns an optional number property from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "number",
|
|
"doc": "Fallback value if value by index not exists or it's is not a number."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptIntegerFromArray(array, integer, integer) integer",
|
|
"function_name": "getOptIntegerFromArray",
|
|
"doc": "Returns an optional integer property from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Fallback value if property does not exist or a property value is not an integer."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptBooleanFromArray(array, integer, boolean) boolean",
|
|
"function_name": "getOptBooleanFromArray",
|
|
"doc": "Returns an optional boolean value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"doc": "Fallback value if value by index not exists or it's is not a boolean."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptColorFromArray(array, integer, color) color",
|
|
"function_name": "getOptColorFromArray",
|
|
"doc": "Returns an optional color value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "color",
|
|
"doc": "Fallback value if value by index not exists or it's is not a color."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptColorFromArray(array, integer, string) color",
|
|
"function_name": "getOptColorFromArray",
|
|
"doc": "Returns an optional color value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value if value by index not exists or it's is not a color."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getUrlFromArray(array, integer) url",
|
|
"function_name": "getUrlFromArray",
|
|
"doc": "Returns an url value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptUrlFromArray(array, integer, url) url",
|
|
"function_name": "getOptUrlFromArray",
|
|
"doc": "Returns an optional url value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "url",
|
|
"doc": "Fallback value if value by index not exists or it's is not a url."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptUrlFromArray(array, integer, string) url",
|
|
"function_name": "getOptUrlFromArray",
|
|
"doc": "Returns an optional url value from array.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value if value by index not exists or it's is not a url."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getArrayFromArray(array, integer) array",
|
|
"function_name": "getArrayFromArray",
|
|
"doc": "Returns an array value from array",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "array",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptArrayFromArray(array, integer) array",
|
|
"function_name": "getOptArrayFromArray",
|
|
"doc": "Returns an array value from array if exist or empty array otherwise",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "array",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getDictFromArray(array, integer) dict",
|
|
"function_name": "getDictFromArray",
|
|
"doc": "Returns an dict value from array",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "dict",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getOptDictFromArray(array, integer) dict",
|
|
"function_name": "getOptDictFromArray",
|
|
"doc": "Returns an dict value from array if exist or empty dict otherwise",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Index at array."
|
|
}
|
|
],
|
|
"result_type": "dict",
|
|
"platforms": [
|
|
"android",
|
|
"web"
|
|
]
|
|
},
|
|
{
|
|
"name": "getStoredIntegerValue(string, integer) integer",
|
|
"function_name": "getStoredIntegerValue",
|
|
"doc": "Returns the stored value by its name. If the value doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Stored value name."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getStoredNumberValue(string, number) number",
|
|
"function_name": "getStoredNumberValue",
|
|
"doc": "Returns the stored value by its name. If the value doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Stored value name."
|
|
},
|
|
{
|
|
"type": "number",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getStoredStringValue(string, string) string",
|
|
"function_name": "getStoredStringValue",
|
|
"doc": "Returns the stored value by its name. If the value doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Stored value name."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getStoredUrlValue(string, url) url",
|
|
"function_name": "getStoredUrlValue",
|
|
"doc": "Returns the stored value by its name. If the value doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Stored value name."
|
|
},
|
|
{
|
|
"type": "url",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getStoredUrlValue(string, string) url",
|
|
"function_name": "getStoredUrlValue",
|
|
"doc": "Returns the stored value by its name. If the value doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Stored value name."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getStoredColorValue(string, color) color",
|
|
"function_name": "getStoredColorValue",
|
|
"doc": "Returns the stored value by its name. If the value doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Stored value name."
|
|
},
|
|
{
|
|
"type": "color",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getStoredColorValue(string, string) color",
|
|
"function_name": "getStoredColorValue",
|
|
"doc": "Returns the stored value by its name. If the value doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Stored value name."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"ios"
|
|
]
|
|
},
|
|
{
|
|
"name": "getStoredBooleanValue(string, boolean) boolean",
|
|
"function_name": "getStoredBooleanValue",
|
|
"doc": "Returns the stored value by its name. If the value doesn't exist or has incorrect type, the default value would be returned.",
|
|
"arguments": [
|
|
{
|
|
"type": "string",
|
|
"doc": "Stored value name."
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"doc": "Fallback value."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"ios"
|
|
]
|
|
}
|
|
]
|
|
}
|