/no-repeated-letters

Detect repeated letters in a word.

Primary LanguageJavaScriptMIT LicenseMIT

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.