Files
divkit/test_data/expression_test_data/methods_signatures_dict.json
T
man-y eed44f448f Mark flutter platform supported tests
commit_hash:a80884f8d89a14490cb02e5278507f93ef7fb589
2025-01-13 16:09:03 +03:00

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"
]
}
]
}