Skip to content

clov3r/chai-integer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage:

var chai = require('chai')
  , expect = chai.expect
  , chai.use( require('chai-integer') );

expect(2015).to.be.an.integer();
expect(2.015).not.to.be.an.integer();

About

Validates that a number is an integer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%