Namespace goog.reflect
code »Show:
Global Functions
code »goog.reflect.canAccessProperty ( obj, prop ) ⇒ boolean
Check if a property can be accessed without throwing an exception.
boolean
code »goog.reflect.object ( type, object ) ⇒ Object
Syntax for object literal casts.
Object
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);
// Force a layout
goog.reflect.sinkValue(dialog.offsetHeight);