hasProperty(child, key) → {boolean}
Checks if the child has the given property.
Will scan up to 4 levels deep only.
Parameters
Name | Type | Description |
---|---|---|
child | any | The child to check for the existence of the property on. |
key | Array.<string> | An array of strings that make up the property. |
Returns
boolean -
True if the child has the property, otherwise false.
- Source code: core/Group.js (Line 1104)
Please login to continue.