perfect-square

    1.0.2 • Public • Published

    perfect-square

    Check if a number is a perfect square

    Build Status Coverage Status Codebeat badge Codacy Badge Code Climate

    NPM

    Install

    $ npm install perfect-square
    

    Usage

    const perfectSquare = require('perfect-square')
     
    console.log(perfectSquare(9))
    // => true
     
    console.log(perfectSquare(11))
    // => false
     
    console.log(perfectSquare(25))
    // => true

    License

    MIT © Nicolás Quiroz

    Install

    npm i perfect-square

    DownloadsWeekly Downloads

    11

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • nhsz