method hasDataBinding

bool hasDataBinding(string property);

Argumente

Zurückgegebener Wert

This method returns true is the box contains a binding with the given name, else false.
function onSample()
{
    var box = scene.getBoxById("myBox");
    if (box)
    {
        if (box.hasDataBinding("myBinding"))
        {
            shell.print("Has a binding");
        }
    }
}