1.0.1 • Published 2 years ago
stringparity v1.0.1
Check string parity
This module helps you to check if two strings are of the same parity, that means are the two strings even or odd. If both are odd or even it will log True to the console, if one is odd and the other is even it will log False to the console.
Install
npm install stringparityUSAGE
// Load library
var parity = require('stringparity');
parity(string1, string2)
This will output either true or falseTest
npm testChangelog
Checking to see if changelog works, hence version 1.0.1License ISC