jsdataframe.js
function validatePrintMax(candidate, lowerBound, label) {
  if (typeof candidate !== 'number' || Number.isNaN(candidate)) {
    throw new Error('"' + label + '" must be a number');
  } else if (candidate < lowerBound) {
    throw new Error('"' + label + '" too small');
  }
}
function validatePrintMax(candidate, lowerBound, label) {
  if (typeof candidate !== 'number' || Number.isNaN(candidate)) {
    throw new Error('"' + label + '" must be a number');
  } else if (candidate < lowerBound) {
    throw new Error('"' + label + '" too small');
  }
}
function validatePrintMax ( candidate , lowerBound , label ) { if ( typeof candidate !== 'number' || Number . isNaN ( candidate ) ) { throw new Error ( '"' + label + '" must be a number' ) ; } else if ( candidate < lowerBound ) { throw new Error ( '"' + label + '" too small' ) ; } }
Helper to validate a candidate print maximum
Helper to validate a candidate print maximum