Function Namespace Pot.Complex.rand.alnum
Defined in: <pot.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Pot.Complex.rand.alnum((length), (valid))
Returns the random alphabet(s) and digit(s).
|
Method Attributes | Method Name and Description |
---|---|
<static> |
Pot.Complex.rand.alnum.lower((length), (valid))
Returns the random alphabet(s) and digit(s) as lowercase.
|
<static> |
Pot.Complex.rand.alnum.upper((length), (valid))
Returns the random alphabet(s) and digit(s) as uppercase.
|
Function Namespace Detail
Pot.Complex.rand.alnum((length), (valid))
Returns the random alphabet(s) and digit(s).
- Parameters:
- {Number} (length)
- Length.
- {Boolean} (valid)
- Whether the first character to specify a alphabet.
- Returns:
- {String} The random alphabet(s) and digit(s).
Method Detail
<static>
{Function}
Pot.Complex.rand.alnum.lower((length), (valid))
Returns the random alphabet(s) and digit(s) as lowercase.
- Parameters:
- {Number} (length)
- Length.
- {Boolean} (valid)
- Whether the first character to specify a alphabet.
- Returns:
- {String} The random alphabet(s) and digit(s).
<static>
{Function}
Pot.Complex.rand.alnum.upper((length), (valid))
Returns the random alphabet(s) and digit(s) as uppercase.
- Parameters:
- {Number} (length)
- Length.
- {Boolean} (valid)
- Whether the first character to specify a alphabet.
- Returns:
- {String} The random alphabet(s) and digit(s).