goog.reflect
Namespace.canAccessProperty(obj, prop)
Check if a property can be accessed without throwing an exception.
obj
{Object
}
prop
{string
}
boolean
}
.object(type, object)
Syntax for object literal casts.
type
{!Function
}
object
{Object
}
Object
}
.sinkValue()
{!Function
}To assert to the compiler that an operation is needed when it would
otherwise be stripped. For example:
// Force a layout
goog.reflect.sinkValue(dialog.offsetHeight);