is-palindrome-string
v1.0.1
Published
Check if input string is palindrome.
Downloads
1
Maintainers
Readme
is-palindrome-string
Check if input string is palindrome.
Features
Install
npm install --save is-palindrome-string
Usage
const isPalindrome = require('is-palindrome-string');
isPalindrome('12321');
//=> true
isPalindrome('fox');
//=> false
isPalindrome('madam');
//=> true
isPalindrome();
//=> TypeError: expects a string got undefined
Author
Prosen Ghosh [email protected]
License
- MIT