is-multiple-of-3
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

is-multiple-of-3

Is value a multiple of 3?

Usage

const isMultipleOf3 = require("is-multiple-of-3");
console.log(isMultipleOf3(6)); //Prints "true"
console.log(isMultipleOf3(4)); //Prints "false"
console.log(isMultipleOf3("30")); //Prints "true"

Readme

Keywords

none

Package Sidebar

Install

npm i is-multiple-of-3

Weekly Downloads

7

Version

1.0.1

License

ISC

Unpacked Size

2.29 kB

Total Files

7

Last publish

Collaborators

  • fizzbuzz-npm