lib/utils.js
function (options) {
    return (
        options.paths
        && options.baseUrl
        && type(options.paths) === TYPES.OBJECT
        && type(options.baseUrl) === TYPES.STRING
      ) || (
        options.buildProfile
        && type(options.buildProfile) === TYPES.STRING
    );
  }
function (options) {
    return (
        options.paths
        && options.baseUrl
        && type(options.paths) === TYPES.OBJECT
        && type(options.baseUrl) === TYPES.STRING
      ) || (
        options.buildProfile
        && type(options.buildProfile) === TYPES.STRING
    );
  }
function ( options ) { return ( options . paths && options . baseUrl && type ( options . paths ) === TYPES . OBJECT && type ( options . baseUrl ) === TYPES . STRING ) || ( options . buildProfile && type ( options . buildProfile ) === TYPES . STRING ) ; }
Checks for baseUrl and paths or a build profile at minimum
Also checks to make sure they are the correct type
@param {object} options
@return {bool}
Checks for baseUrl and paths or a build profile at minimum Also checks to make sure they are the correct type