epiphany/node_modules/stylelint/lib/utils/isNonNegativeInteger.js
2023-12-09 22:48:07 -08:00

8 lines
184 B
JavaScript

'use strict';
/**
* @param {unknown} value
*/
module.exports = function isNonNegativeInteger(value) {
return Number.isInteger(value) && typeof value === 'number' && value >= 0;
};