fabric-network/lib/transaction.js
function verifyArguments(args) {
	const isInvalid = args.some((arg) => typeof arg !== 'string');
	if (isInvalid) {
		const argsString = args.map((arg) => util.format('%j', arg)).join(', ');
		const msg = util.format('Transaction arguments must be strings: %s', argsString);
		logger.error('verifyArguments:', msg);
		throw new Error(msg);
	}
}
function verifyArguments(args) {
	const isInvalid = args.some((arg) => typeof arg !== 'string');
	if (isInvalid) {
		const argsString = args.map((arg) => util.format('%j', arg)).join(', ');
		const msg = util.format('Transaction arguments must be strings: %s', argsString);
		logger.error('verifyArguments:', msg);
		throw new Error(msg);
	}
}
function verifyArguments ( args ) { const isInvalid = args . some ( ( arg ) => typeof arg !== 'string' ) ; if ( isInvalid ) { const argsString = args . map ( ( arg ) => util . format ( '%j' , arg ) ) . join ( ', ' ) ; const msg = util . format ( 'Transaction arguments must be strings: %s' , argsString ) ; logger . error ( 'verifyArguments:' , msg ) ; throw new Error ( msg ) ; } }
Ensure supplied transaction arguments are not strings.
@private
@static
@param {Array} args transaction arguments.
@throws {Error} if any arguments are invalid.
Ensure supplied transaction arguments are not strings .