FlexLayer#checkProperty()

checkProperty(child, key, value, force) → {boolean}

Checks a property for the given value on the child.

Parameters
Name Type Argument Default Description
child any

The child to check the property value on.

key array

An array of strings that make up the property that will be set.

value any

The value that will be checked.

force boolean <optional>
false

If force is true then the property will be checked on the child regardless if it already exists or not. If true and the property doesn't exist, false will be returned.

Returns
boolean -

True if the property was was equal to value, false if not.

Inherited From
Source code: core/Group.js (Line 1217)
doc_phaser
2017-02-14 10:46:34
Comments
Leave a Comment

Please login to continue.