node package manager

no-repeated-letters

Detect repeated letters in a word.

no-repeated-letters

Build Status Dependency Status

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.