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
?
)
:
IdRandom
<
T
>
Type Parameters
T
extends
Id
=
Id
Parameters
__namedParameters
:
{
randomSource
?:
(
(
size
)
=>
Uint8Array
)
;
}
= {}
Optional
random
Source
?:
(
(
size
)
=>
Uint8Array
)
(
size
)
:
Uint8Array
Parameters
size
:
number
Returns
Uint8Array
Returns
IdRandom
<
T
>
Properties
Protected
random
Source
random
Source
:
(
(
size
)
=>
Uint8Array
)
Type declaration
(
size
)
:
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
On This Page
constructor
random
Source
[iterator]
get
next
@matrixai/id
id
Sortable
utils
Id
Deterministic
Id
Internal
Id
Random
Id
Sortable
Id
Generated using
TypeDoc