Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/math
LengthForm
Class LengthForm
Hierarchy
Form
<
Length
,
AnyLength
>
LengthForm
Index
Constructors
constructor
Properties
default
Units
tag
unit
Methods
cast
mold
with
Tag
with
Unit
for
Any
for
Boolean
for
Item
for
Number
for
String
for
Value
Constructors
constructor
new
Length
Form
(
defaultUnits
:
undefined
|
LengthUnits
, unit
:
undefined
|
Length
)
:
LengthForm
Parameters
defaultUnits:
undefined
|
LengthUnits
unit:
undefined
|
Length
Returns
LengthForm
Properties
Readonly
default
Units
default
Units
:
undefined
|
LengthUnits
Readonly
tag
tag
:
undefined
|
string
Readonly
unit
unit
:
undefined
|
Length
Methods
cast
cast
(
item
:
Item
)
:
undefined
|
Length
Parameters
item:
Item
Returns
undefined
|
Length
mold
mold
(
length
:
AnyLength
)
:
Item
Parameters
length:
AnyLength
Returns
Item
with
Tag
with
Tag
(
tag
:
undefined
|
string
)
:
Form
<
Length
,
AnyLength
>
Parameters
tag:
undefined
|
string
Returns
Form
<
Length
,
AnyLength
>
with
Unit
with
Unit
(
unit
:
undefined
|
Length
)
:
Form
<
Length
,
AnyLength
>
Parameters
unit:
undefined
|
Length
Returns
Form
<
Length
,
AnyLength
>
Static
for
Any
for
Any
(
)
:
Form
<
AnyItem
,
never
>
Returns
Form
<
AnyItem
,
never
>
Static
for
Boolean
for
Boolean
(
)
:
Form
<
boolean
,
never
>
Returns
Form
<
boolean
,
never
>
Static
for
Item
for
Item
(
)
:
Form
<
Item
,
AnyItem
>
Returns
Form
<
Item
,
AnyItem
>
Static
for
Number
for
Number
(
)
:
Form
<
number
,
never
>
Returns
Form
<
number
,
never
>
Static
for
String
for
String
(
)
:
Form
<
string
,
never
>
Returns
Form
<
string
,
never
>
Static
for
Value
for
Value
(
)
:
Form
<
Value
,
AnyValue
>
Returns
Form
<
Value
,
AnyValue
>
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
Length
Form
constructor
default
Units
tag
unit
cast
mold
with
Tag
with
Unit
for
Any
for
Boolean
for
Item
for
Number
for
String
for
Value
Generated using
TypeDoc