function evaluate(input) {
	if (arguments.length !== 1)
		throw 'must have 1 argument';
	if (!tosca.isTosca(clout))
		throw 'Clout is not TOSCA';
	var inputs = clout.properties.tosca.inputs;
	if (!(input in inputs))
		throw puccini.sprintf('input "%s" not found', input);
	var r = inputs[input];
	r = clout.coerce(r);
	return r * 2;
}
// Except that we added a "* 2" to the returned result
Except that we added a "* 2" to the returned result
Except that we added a " * 2 " to the returned result
function evaluate(input) {
	if (arguments.length !== 1)
		throw 'must have 1 argument';
	if (!tosca.isTosca(clout))
		throw 'Clout is not TOSCA';
	var inputs = clout.properties.tosca.inputs;
	if (!(input in inputs))
		throw puccini.sprintf('input "%s" not found', input);
	var r = inputs[input];
	r = clout.coerce(r);
	return r * 2;
}
function evaluate ( input ) { if ( arguments . length !== 1 ) throw 'must have 1 argument' ; if ( ! tosca . isTosca ( clout ) ) throw 'Clout is not TOSCA' ; var inputs = clout . properties . tosca . inputs ; if ( ! ( input in inputs ) ) throw puccini . sprintf ( 'input "%s" not found' , input ) ; var r = inputs [ input ] ; r = clout . coerce ( r ) ; return r * 2 ; }
Except that we added a "* 2" to the returned result
Except that we added a " * 2 " to the returned result