Closed eugeny-dementev closed 8 years ago
Hello @eugeny-dementev. Fist of all, the fact that exists
return false
seems to be a bug. Now concerning the monkey part, other people mention that this would be a good idea to create something of the kind, so I will probably do it.
For the time being, a dirty workaround is to poll tree._monkeys
which is a nested object containing dynamic paths.
Actually i just recheck .exists with mokey field and looks like it work fine in last verion. It false only in 2.0. But not found any fixes about this in release notes.
My bad. Must have forgotten it in the changelog.
I just added the internal getMonkey
method to the tree. The methods return a Monkey
instance if found or else null
.
Is there any way to check field for monkey type? Something like
tree.isMonkey(['comp'])
?