1.1.2 • Published 1 year ago
multiple-of-3 v1.1.2
multiple-of-3

Returns true if the value is a number that is a multiple of 3.
Usage
To start using the library, install it in your project:
$ npm install --save multiple-of-3
# or
$ yarn add multiple-of-3
# or
$ pnpm add multiple-of-3
Then, import the function and use it:
import { validateMultipleOf3 } from 'multiple-of-3';
validateMultipleOf3(3); // true
validateMultipleOf3(6); // true
validateMultipleOf3(9); // true
validateMultipleOf3(2); // false
validateMultipleOf3(4); // false
validateMultipleOf3(5); // false
Contributors
This README was generated with ❤️ by afor_digital and contributors.