object.exists
Boolean object.exists(objectName)
This function returns a true value if the object with the symbolic or real (multi-property) name objectName
exists; otherwise it returns a false value. The given name can also be a native script dictionary (resp. hash) value.
If you know that a particular object exists and you just want to access it (for example, to examine its properties or to perform an action on it or with it), then use the Object waitForObject(objectOrName) function if the object is visible; or use the Object findObject(objectName) function if the object is hidden.
© 2024 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners.