api/http/definitions/Parameters.js
/**
		 * Throws an {@link Error} if the instance is invalid.
		 *
		 * @public
		 */
Throws an  Error if the instance is invalid.
@public
Throws an Error if the instance is invalid . @public
validate() {
			if (!is.array(this._parameters)) {
				throw new Error('Parameters must be an array.');
			}
			if (this._parameters.some(p => !(p instanceof Parameter))) {
				throw new Error('All parameter items must be instances of Parameters.');
			}
			this._parameters.forEach(p => p.validate());
		}
validate ( ) { if ( ! is . array ( this . _parameters ) ) { throw new Error ( 'Parameters must be an array.' ) ; } if ( this . _parameters . some ( p => ! ( p instanceof Parameter ) ) ) { throw new Error ( 'All parameter items must be instances of Parameters.' ) ; } this . _parameters . forEach ( p => p . validate ( ) ) ; }
Throws an {@link Error} if the instance is invalid.
Throws an { @link Error } if the instance is invalid .