is-palindrome-string

Check if input string is palindrome.


Keywords
palindrome, string, reverse, npm, npm-package, palindrome-string
License
MIT
Install
npm install is-palindrome-string@1.0.1

Documentation

is-palindrome-string

Check if input string is palindrome.

npm license github-issues

travis-status stars forks

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 prosenghosh25@gmail.com

License

  • MIT