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
Commutator
Class Commutator
Hierarchy
AlgCommon
<
Commutator
>
Commutator
Index
Constructors
constructor
Accessors
A
B
log
Methods
as
experimental
Expand
invert
is
is
Identical
to
String
Constructors
constructor
new
Commutator
(
aSource
,
bSource
)
:
Commutator
Parameters
aSource
:
FlexibleAlgSource
bSource
:
FlexibleAlgSource
Returns
Commutator
Accessors
A
get
A
(
)
:
Alg
Returns
Alg
B
get
B
(
)
:
Alg
Returns
Alg
log
get
log
(
)
:
(
(
message
?:
any
)
=>
void
)
Returns
(
(
message
?:
any
)
=>
void
)
(
message
?
)
:
void
Parameters
Optional
message
:
any
Returns
void
Methods
as
as
<
T
>
(
c
)
:
null
|
T
Type Parameters
T
Parameters
c
:
(
new
(
...
args
:
any
)
=>
T
)
new
(
...
args
)
:
T
Parameters
Rest
...
args
:
any
Returns
T
Returns
null
|
T
experimental
Expand
experimental
Expand
(
iterDir
?
,
depth
?
)
:
Generator
<
AlgLeaf
,
any
,
any
>
Parameters
iterDir
:
IterationDirection
= IterationDirection.Forwards
Optional
depth
:
number
Returns
Generator
<
AlgLeaf
,
any
,
any
>
invert
invert
(
)
:
Commutator
Returns
Commutator
is
is
(
c
)
:
boolean
Parameters
c
:
any
Returns
boolean
is
Identical
is
Identical
(
other
)
:
boolean
Parameters
other
:
Comparable
Returns
boolean
to
String
to
String
(
experimentalSerializationOptions
?
)
:
string
Parameters
Optional
experimentalSerializationOptions
:
ExperimentalSerializationOptions
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
A
B
log
Methods
as
experimental
Expand
invert
is
is
Identical
to
String
Go to main documentation 🔗
cubing.js — API Reference - v0.53.9-dev
Loading...