The Spanish wordlist for mnemonic phrases.

Extends

Methods

join()

join(words): string

Sub-classes may override this to provider a language-specific method for joining words into a phrase.

By default, words are joined by a single space.

Parameters

ParameterTypeDescription
wordsstring[]The words to join.

Returns

string

The joined phrase.

Inherited from

WordlistOwlA.join

Source

wordlists/wordlist.ts:47


split()

split(phrase): string[]

Sub-classes may override this to provide a language-specific method for spliting phrase into individual words.

By default, phrase is split using any sequences of white-space as defined by regular expressions (i.e. /\s+/).

Parameters

ParameterTypeDescription
phrasestringThe phrase to split.

Returns

string[]

The split words in the phrase.

Inherited from

WordlistOwlA.split

Source

wordlists/wordlist.ts:34


wordlist()

static wordlist(): LangEs

Returns a singleton instance of a LangEs, creating it if this is the first time being called.

Returns

LangEs

Source

wordlists/lang-es.ts:30