UNPKG

@stdlib/math-base-assert-is-nonpositive-integer

Version:

Test if a finite double-precision floating-point number is a nonpositive integer.

6 lines (5 loc) 320 B
"use strict";var s=function(r,e){return function(){return e||r((e={exports:{}}).exports,e),e.exports}};var i=s(function(c,t){ var o=require('@stdlib/math-base-special-floor/dist');function n(r){return o(r)===r&&r<=0}t.exports=n });var u=i();module.exports=u; /** @license Apache-2.0 */ //# sourceMappingURL=index.js.map