Prosen-Ghosh / is-palindrome-string

Check if input string is palindrome.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Check if input string is palindrome.

License:MIT License


Languages

Language:JavaScript 100.0%