Home Reference Source Repository
import Runes from 'wyst/es6/utils/Runes.js'
public class | source

Runes

Static Member Summary

Static Public Members
public static get

length: *

public static get

set: *: string

the Set of characters to use for our Runes

Static Method Summary

Static Public Methods
public static

lpad(n: number, str: <type>): *

lulz - good on you for reading docs

public static

randRune(): char

gets a random member from Runes.set

public static

random(n: <type>): *

a random string of n length composed from Runes.set

Static Public Members

public static get length: * source

public static get set: *: string source

the Set of characters to use for our Runes

Return:

*

[a-zA-Z0-9]

Static Public Methods

public static lpad(n: number, str: <type>): * source

lulz - good on you for reading docs

Params:

NameTypeAttributeDescription
n number

padtato chips

str <type>

The str

Return:

*

public static randRune(): char source

gets a random member from Runes.set

Return:

char

a random member of Runes.set

public static random(n: <type>): * source

a random string of n length composed from Runes.set

Params:

NameTypeAttributeDescription
n <type>

{ parameter_description }

Return:

*