attributeExists (string $attr, string
$node)
なし
| 変数名 | 変数型 | 説明 |
|---|---|---|
| $attr | string | 検索するアトリビュートの名前です。 |
| $node | string | 検索するノードの名前です。 |
string $shapeName[] = `cone`;
if (`attributeExists "scaleX" $shapeName[0]`) {
print "Attribute exists\n";
} else {
print "Attribute does not exist\n";
}