1.1.2 • Published 1 year ago

multiple-of-3 v1.1.2

Weekly downloads
-
License
GPL-3.0-or-later
Repository
-
Last release
1 year ago

multiple-of-3 NPM version NPM monthly downloads NPM total downloads

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.

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.0.0

1 year ago