Go to main documentation 🔗
Preparing search index...
The search index is not available
cubing.js — API Reference - v0.53.9-dev
cubing.js — API Reference
alg
functionFromTraversal
Function functionFromTraversal
function
From
Traversal
<
DataDown
,
DataAlgUp
,
ConstructorArgs
>
(
traversalConstructor
,
constructorArgs
?
)
:
undefined
extends
DataDown
?
(
(
alg
:
Alg
)
=>
DataAlgUp
)
:
(
(
alg
:
Alg
,
v
:
DataDown
)
=>
DataAlgUp
)
Type Parameters
DataDown
DataAlgUp
ConstructorArgs
extends
unknown
[]
Parameters
traversalConstructor
:
(
new
(
...
args
:
ConstructorArgs
)
=>
TraversalDownUp
<
DataDown
,
DataAlgUp
,
any
>
)
new
(
...
args
)
:
TraversalDownUp
<
DataDown
,
DataAlgUp
,
any
>
Parameters
Rest
...
args
:
ConstructorArgs
Returns
TraversalDownUp
<
DataDown
,
DataAlgUp
,
any
>
Optional
constructorArgs
:
ConstructorArgs
Returns
undefined
extends
DataDown
?
(
(
alg
:
Alg
)
=>
DataAlgUp
)
:
(
(
alg
:
Alg
,
v
:
DataDown
)
=>
DataAlgUp
)
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Go to main documentation 🔗
cubing.js — API Reference - v0.53.9-dev
Loading...