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
ValueForm
Class ValueForm
Hierarchy
Form
<
Value
,
AnyValue
>
ValueForm
Index
Constructors
constructor
Properties
tag
unit
Methods
cast
mold
with
Tag
with
Unit
for
Any
for
Boolean
for
Item
for
Number
for
String
for
Value
Constructors
constructor
new
Value
Form
(
unit
?:
Value
)
:
ValueForm
Parameters
Optional
unit:
Value
Returns
ValueForm
Properties
Readonly
tag
tag
:
undefined
|
string
Readonly
unit
unit
:
undefined
|
Value
Methods
cast
cast
(
item
:
Item
, object
?:
Value
)
:
undefined
|
Value
Parameters
item:
Item
Optional
object:
Value
Returns
undefined
|
Value
mold
mold
(
object
:
AnyValue
, item
?:
Item
)
:
Item
Parameters
object:
AnyValue
Optional
item:
Item
Returns
Item
with
Tag
with
Tag
(
tag
:
undefined
|
string
)
:
Form
<
Value
,
AnyValue
>
Parameters
tag:
undefined
|
string
Returns
Form
<
Value
,
AnyValue
>
with
Unit
with
Unit
(
unit
:
undefined
|
Value
)
:
Form
<
Value
,
never
>
Parameters
unit:
undefined
|
Value
Returns
Form
<
Value
,
never
>
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
Value
Form
constructor
tag
unit
cast
mold
with
Tag
with
Unit
for
Any
for
Boolean
for
Item
for
Number
for
String
for
Value
Generated using
TypeDoc