Namespace goog.reflect
code »Show:
Global Functions
code »goog.reflect.canAccessProperty ( obj, prop ) ⇒ booleanCheck if a property can be accessed without throwing an exception.
booleancode »goog.reflect.object ( type, object ) ⇒ ObjectSyntax for object literal casts.
ObjectTo 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);