dojox.uuid.getVersion
dojo.require("dojox.uuid._base");
defined in dojox/uuid/_base.js
Returns a version number that indicates what type of UUID this is. Returns one of the enumerated dojox.uuid.version values.
Usage
function (/*String*/ uuidString) (view source)
parameter | type | description |
---|---|---|
uuidString | String |
Examples
Example 1
var version = dojox.uuid.getVersion("b4308fb0-86cd-11da-a72b-0800200c9a66"); dojox.uuid.assert(version == dojox.uuid.version.TIME_BASED);