用于检查对象的 DXL 脚本在枚举类型属性中包含两个值

DXL script to check object contains two values in enum type attribute

检查 DOORs 对象是否具有澳大利亚和印度两个枚举值的 DXL 语法是什么?

if ((isMember((current Object)."Country", "Australia")) && (isMember((current Object)."Country", "India")))
{
    addRequirement("Right-hand drive model needed")
}
OR
if (isMember(current Object)."Country", "Australia", "India")
{
    addRequirement("Right-hand drive model needed")
}

请提出正确的语法,因为上面两个不是正确的

"undocumented perms list"说明isMember只存在于风味bool isMember (Attr__, string)中。所以,第一个语法是正确的。