babylon.quarks - v1.0.0
Demos
GitHub
npm
Preparing search index...
withRandomSource
Function withRandomSource
withRandomSource
<
T
>
(
generator
:
RandomSource
,
fn
:
()
=>
T
)
:
T
Runs
fn
with
generator
as the random source, restoring the previous one after.
Type Parameters
T
Parameters
generator
:
RandomSource
fn
:
()
=>
T
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Demos
GitHub
npm
babylon.quarks - v1.0.0
Loading...
Runs
fnwithgeneratoras the random source, restoring the previous one after.