Functiondojo.getObject

<script src="../../js/dojo.js"></script>
defined in dojo/_base/_loader/bootstrap.js

Useful for longer api chains where you have to test each object in the chain, or when you have an object reference in string format.

Usage

function (/*String*/ name, /*Boolean*/ create, /*Object*/ context) (view source)
parametertypedescription
nameStringPath to an property, in the form "A.B.C".
createBooleanOptional. Defaults to `false`. If `true`, Objects will be created at any point along the 'path' that is undefined.
contextObjectOptional. Object to use as root of path. Defaults to 'dojo.global'. Null may be passed.