A property or subscript access as part of a Reference's path.
Reference
Tells if this represents a property access.
Tells if this represents a subscript access.
The property that was accessed.
If non-null, this is a property access. If null this is a subscript access.
null
The subscript key that was accessed.
May be null even when property is null, which represents a subscript access with key null (e.g. foo[null]).
property
foo[null]
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
A property or subscript access as part of a
Reference's path.