src/options/normalizeOptions.js
function normalizeLimit (options) {
  const limit = options.limit || options.resultRecordCount || options.count || options.maxFeatures
  // If there is a limit, add 1 to it so we can later calculate a limitExceeded. The result set will be resized accordingly, post SQL
  if (limit) return limit + 1
}
function normalizeLimit (options) {
  const limit = options.limit || options.resultRecordCount || options.count || options.maxFeatures
  // If there is a limit, add 1 to it so we can later calculate a limitExceeded. The result set will be resized accordingly, post SQL
  if (limit) return limit + 1
}
function normalizeLimit ( options ) { const limit = options . limit || options . resultRecordCount || options . count || options . maxFeatures // If there is a limit, add 1 to it so we can later calculate a limitExceeded. The result set will be resized accordingly, post SQL if ( limit ) return limit + 1 }
Normalize the limit option; defaults to undefined
@param {object} options
@returns {integer} or undefined
Normalize the limit option ; defaults to undefined