UNPKG
ziron-state
Version:
latest (9.9.4)
9.9.4
9.9.3
9.9.1
9.9.0
9.8.0
9.7.0
9.6.0
9.5.0
9.4.0
9.2.0
9.0.0
8.9.0
8.8.0
8.7.0
8.5.0
8.4.0
8.2.0
8.0.0
7.7.0
7.5.0
7.2.0
7.0.0
6.7.0
6.5.0
6.4.0
6.2.0
6.0.0
5.0.0
4.6.0
4.3.0
4.0.0
3.8.0
3.6.0
3.5.0
3.4.0
3.3.0
3.2.0
3.0.0
2.9.0
2.8.0
2.7.0
2.5.0
2.4.0
2.3.0
2.2.0
2.1.5
2.1.0
2.0.0
1.8.0
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.3
1.0.2
1.0.0
0.6.0
0.5.0
0.3.0
0.1.40
0.1.30
0.1.25
0.1.24
0.1.23
0.1.22
0.1.21
0.1.20
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.0
0.0.1
Ziron state
github.com/ZironServer/ziron-state
ZironServer/ziron-state
ziron-state
/
dist
/
lib
/
Crypto.d.ts
9 lines
(8 loc)
•
257 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
export
declare
function
generateSecret
(
):
string
;
/** *
@description
* Returns a random item of the given array. * If the array is empty, it returns undefined. *
@param
array */
export
declare
function
getRandomArrayItem
<
T
>(
array
: T[]
):
T
|
undefined
;