Functiondojo.data.api.Read.isItemLoaded

dojo.require("dojo.data.api.Read");
defined in dojo/data/api/Read.js

Returns false if isItem(something) is false. Returns false if if isItem(something) is true but the the item is not yet loaded in local memory (for example, if the item has not yet been read from the server).

Usage

function (something) (view source)
parametertypedescription
something Can be anything.

Examples

Example 1

var yes = store.isItemLoaded(store.newItem());
var no  = store.isItemLoaded("green");