Made value nullable in apicache JSDoc

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
Matthew Nickson 2022-04-22 19:42:42 +01:00
parent 46da5e51be
commit 587faecf87
No known key found for this signature in database
GPG Key ID: BF229DCFD4748E05

View File

@ -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) {