scripts/core/augmented.js
function(source) {
        if (source === null) {
          return Augmented.Utility.TransformerType.xNull;
        } else if (typeof source === 'string') {
          return Augmented.Utility.TransformerType.xString;
        } else if (typeof source === 'number') {
          return Augmented.Utility.TransformerType.xNumber;
        } else if (typeof source === 'boolean') {
          return Augmented.Utility.TransformerType.xBoolean;
        } else if (Array.isArray(source)) {
          return Augmented.Utility.TransformerType.xArray;
        } else if (typeof source === 'object') {
          return Augmented.Utility.TransformerType.xObject;
        }
      }
function(source) {
        if (source === null) {
          return Augmented.Utility.TransformerType.xNull;
        } else if (typeof source === 'string') {
          return Augmented.Utility.TransformerType.xString;
        } else if (typeof source === 'number') {
          return Augmented.Utility.TransformerType.xNumber;
        } else if (typeof source === 'boolean') {
          return Augmented.Utility.TransformerType.xBoolean;
        } else if (Array.isArray(source)) {
          return Augmented.Utility.TransformerType.xArray;
        } else if (typeof source === 'object') {
          return Augmented.Utility.TransformerType.xObject;
        }
      }
function ( source ) { if ( source === null ) { return Augmented . Utility . TransformerType . xNull ; } else if ( typeof source === 'string' ) { return Augmented . Utility . TransformerType . xString ; } else if ( typeof source === 'number' ) { return Augmented . Utility . TransformerType . xNumber ; } else if ( typeof source === 'boolean' ) { return Augmented . Utility . TransformerType . xBoolean ; } else if ( Array . isArray ( source ) ) { return Augmented . Utility . TransformerType . xArray ; } else if ( typeof source === 'object' ) { return Augmented . Utility . TransformerType . xObject ; } }
Returns a Augmented.Utility.TransformerType of a passed object
@method isType
@memberof Augmented.Utility.Transformer
@param {object} source The source primitive
@returns {Augmented.Utility.TransformerType} type of source as Augmented.Utility.TransformerType
Returns a Augmented . Utility . TransformerType of a passed object