Made value nullable in apicache JSDoc

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
pull/1499/head
Matthew Nickson 2 years ago
parent 46da5e51be
commit 587faecf87
No known key found for this signature in database
GPG Key ID: BF229DCFD4748E05

@ -656,7 +656,7 @@ function ApiCache() {
* misses. * misses.
* @param {Uint8Array} array An array representing hits and * @param {Uint8Array} array An array representing hits and
* misses. * misses.
* @returns {number} a number between 0 and 1, or null if * @returns {?number} a number between 0 and 1, or null if
* the array has no hits or misses * the array has no hits or misses
*/ */
this.hitRate = function (array) { this.hitRate = function (array) {

Loading…
Cancel
Save