is-palindrome-string

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i is-palindrome-string

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • prosen-ghosh