reflect

Classes


Public Protected Private

Global Functions

goog.reflect.canAccessProperty(objprop) boolean
Check if a property can be accessed without throwing an exception.
Arguments:
obj : Object
The owner of the property.
prop : string
The property name.
Returns: boolean  Whether the property is accessible. Will also return true if obj is null.
code »
goog.reflect.object(typeobject) Object
Syntax for object literal casts.
Arguments:
type : !Function
Type to cast to.
object : Object
Object literal to cast.
Returns: Object  The object literal.
code »

Global Properties

goog.reflect.sinkValue :
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);
Code »

Package reflect

Package Reference