mirror of
https://github.com/divkit/divkit.git
synced 2026-05-07 20:02:32 +00:00
1cf94e0f59
commit_hash:edee6544bfe24236ce733a5d0545f7ec18d2293c
190 lines
3.8 KiB
JSON
190 lines
3.8 KiB
JSON
{
|
|
"signatures": [
|
|
{
|
|
"function_name": "getArray",
|
|
"is_method": true,
|
|
"doc": "Returns an array value from array by position.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Position in array."
|
|
}
|
|
],
|
|
"result_type": "array",
|
|
"platforms": [
|
|
"ios",
|
|
"web",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getBoolean",
|
|
"is_method": true,
|
|
"doc": "Returns a boolean value from array by position.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Position in array."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"ios",
|
|
"web",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getColor",
|
|
"is_method": true,
|
|
"doc": "Returns a color value from array by position.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Position in array."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"ios",
|
|
"web",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getDict",
|
|
"is_method": true,
|
|
"doc": "Returns a dict value from array by position.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Position in array."
|
|
}
|
|
],
|
|
"result_type": "dict",
|
|
"platforms": [
|
|
"ios",
|
|
"web",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getInteger",
|
|
"is_method": true,
|
|
"doc": "Returns an integer value from array by position.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Position in array."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"ios",
|
|
"web",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getNumber",
|
|
"is_method": true,
|
|
"doc": "Returns a number value from array by position.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Position in array."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"ios",
|
|
"web",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getString",
|
|
"is_method": true,
|
|
"doc": "Returns a string value from array by position.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Position in array."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"ios",
|
|
"web",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getUrl",
|
|
"is_method": true,
|
|
"doc": "Returns a url value from array by position.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"doc": "Position in array."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"ios",
|
|
"web",
|
|
"android"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "isEmpty",
|
|
"is_method": true,
|
|
"doc": "The method returns boolean true if array is empty else false.",
|
|
"arguments": [
|
|
{
|
|
"type": "array",
|
|
"doc": "Array."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"ios",
|
|
"web",
|
|
"android"
|
|
]
|
|
}
|
|
]
|
|
}
|