Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/structure
UnitForm
Class UnitForm<T, U>
Type parameters
T
U =
never
Hierarchy
Form
<
T
,
U
>
UnitForm
Index
Constructors
constructor
Properties
form
tag
unit
Methods
cast
mold
with
Tag
with
Unit
for
Any
for
Boolean
for
Item
for
Number
for
String
for
Value
Constructors
constructor
new
Unit
Form<T, U>
(
form
:
Form
<
T
,
U
>
, unit
:
undefined
|
T
)
:
UnitForm
<
T
,
U
>
Type parameters
T
U =
never
Parameters
form:
Form
<
T
,
U
>
unit:
undefined
|
T
Returns
UnitForm
<
T
,
U
>
Properties
Readonly
form
form
:
Form
<
T
,
U
>
Readonly
tag
tag
:
undefined
|
string
Readonly
unit
unit
:
undefined
|
T
Methods
cast
cast
(
item
:
Item
, object
?:
T
)
:
undefined
|
T
Parameters
item:
Item
Optional
object:
T
Returns
undefined
|
T
mold
mold
(
object
:
T
|
U
, item
?:
Item
)
:
Item
Parameters
object:
T
|
U
Optional
item:
Item
Returns
Item
with
Tag
with
Tag
(
tag
:
undefined
|
string
)
:
Form
<
T
,
U
>
Parameters
tag:
undefined
|
string
Returns
Form
<
T
,
U
>
with
Unit
with
Unit
(
unit
:
undefined
|
T
)
:
Form
<
T
,
U
>
Parameters
unit:
undefined
|
T
Returns
Form
<
T
,
U
>
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
Unit
Form
constructor
form
tag
unit
cast
mold
with
Tag
with
Unit
for
Any
for
Boolean
for
Item
for
Number
for
String
for
Value
Generated using
TypeDoc