mirror of
https://github.com/divkit/divkit.git
synced 2026-05-07 20:02:32 +00:00
eed44f448f
commit_hash:a80884f8d89a14490cb02e5278507f93ef7fb589
199 lines
3.9 KiB
JSON
199 lines
3.9 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": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"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": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"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": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"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": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"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": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"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": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"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": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"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": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"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": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
}
|
|
]
|
|
}
|