mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
229 lines
4.5 KiB
JSON
229 lines
4.5 KiB
JSON
{
|
|
"signatures": [
|
|
{
|
|
"function_name": "getArray",
|
|
"is_method": true,
|
|
"doc": "Returns an array value from dict by key.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dict."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "array",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getBoolean",
|
|
"is_method": true,
|
|
"doc": "Returns a boolean value from dict by key.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dict."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getColor",
|
|
"is_method": true,
|
|
"doc": "Returns a color value from dict by key.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dict."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "color",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getDict",
|
|
"is_method": true,
|
|
"doc": "Returns a dict value from dict by key.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dict."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "dict",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getInteger",
|
|
"is_method": true,
|
|
"doc": "Returns an integer value from dict by key.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dict."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "integer",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getNumber",
|
|
"is_method": true,
|
|
"doc": "Returns a number value from dict by key.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dict."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "number",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getString",
|
|
"is_method": true,
|
|
"doc": "Returns a string value from dict by key.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dict."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "string",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "getUrl",
|
|
"is_method": true,
|
|
"doc": "Returns a url value from dict by key.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dict."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"vararg": true,
|
|
"doc": "Path in dictionary."
|
|
}
|
|
],
|
|
"result_type": "url",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "containsKey",
|
|
"is_method": true,
|
|
"doc": "Returns true if the given key is present in the dictionary.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dict."
|
|
},
|
|
{
|
|
"type": "string",
|
|
"doc": "Key in dictionary."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
},
|
|
{
|
|
"function_name": "isEmpty",
|
|
"is_method": true,
|
|
"doc": "The method returns boolean true if dict is empty else false.",
|
|
"arguments": [
|
|
{
|
|
"type": "dict",
|
|
"doc": "Dict."
|
|
}
|
|
],
|
|
"result_type": "boolean",
|
|
"platforms": [
|
|
"android",
|
|
"ios",
|
|
"web",
|
|
"flutter"
|
|
]
|
|
}
|
|
]
|
|
}
|