no-repeated-letters
v5.0.0
Published
Detect repeated letters in a word.
Downloads
111
Readme
no-repeated-letters
Detect repeated letters in a word.
Example
var noRepeatedLetters = require('no-repeated-letters');
noRepeatedLetters('human');
// => true
Installation
$ npm install no-repeated-letters
API
var noRepeatedLetters = require('no-repeated-letters');
noRepeatedLetters(word)
Returns true
if every character in String word
occurs only once in word
.
Returns false
otherwise.