mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
topdown: Support indexof_n built-in function (#4172)
Fixes https://github.com/open-policy-agent/opa/issues/4155 Signed-off-by: shuheiktgw <s-kitagawa@mercari.com>
This commit is contained in:
@@ -1090,6 +1090,26 @@
|
||||
"type": "function"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "indexof_n",
|
||||
"decl": {
|
||||
"args": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"dynamic": {
|
||||
"type": "number"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"type": "function"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "internal.member_2",
|
||||
"decl": {
|
||||
|
||||
Reference in New Issue
Block a user