Preparing search index...
The search index is not available
@matrixai/id
@matrixai/id
IdRandom
Class IdRandom<T>
Type Parameters
T
extends
Id
=
Id
Hierarchy
IdRandom
Implements
IterableIterator
<
T
>
Index
Constructors
constructor
Properties
random
Source
Methods
[iterator]
get
next
Constructors
constructor
new
Id
Random
<
T
>
(
__namedParameters
?:
{
randomSource
?:
(
(
size
:
number
)
=>
Uint8Array
)
;
}
)
:
IdRandom
<
T
>
Type Parameters
T
extends
IdInternal
<
T
>
&
number
=
Id
Parameters
__namedParameters:
{
randomSource
?:
(
(
size
:
number
)
=>
Uint8Array
)
;
}
= {}
Optional
random
Source
?:
(
(
size
:
number
)
=>
Uint8Array
)
(
size
:
number
)
:
Uint8Array
Parameters
size:
number
Returns
Uint8Array
Returns
IdRandom
<
T
>
Properties
Protected
random
Source
random
Source
:
(
(
size
:
number
)
=>
Uint8Array
)
Type declaration
(
size
:
number
)
:
Uint8Array
Parameters
size:
number
Returns
Uint8Array
Methods
[iterator]
[iterator]
(
)
:
IterableIterator
<
T
>
Returns
IterableIterator
<
T
>
get
get
(
)
:
T
Returns
T
next
next
(
)
:
IteratorResult
<
T
,
void
>
Returns
IteratorResult
<
T
,
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@matrixai/id
utils
Id
Random
constructor
random
Source
[iterator]
get
next
Generated using
TypeDoc