ThreePipe
Preparing search index...
TypeSystem
Class TypeSystem
Index
Constructors
constructor
Properties
Classes
Methods
Add
Class
Can
Assign
Get
Class
Get
Class
Type
Get
Type
Non
Literal
Type
To
String
Constructors
constructor
new
TypeSystem
()
:
TypeSystem
Returns
TypeSystem
Properties
Static
Classes
Classes
:
Map
<
string
,
TypedClass
<
any
>
>
= ...
Methods
Static
Add
Class
AddClass
(
def
:
TypedClass
)
:
void
Parameters
def
:
TypedClass
Returns
void
Static
Can
Assign
CanAssign
(
src
:
TypedType
,
tar
:
TypedType
)
:
boolean
Returns true if
tar = src
is valid
Parameters
src
:
TypedType
tar
:
TypedType
Returns
boolean
Static
Get
Class
GetClass
(
type
:
TypedType
)
:
undefined
|
TypedClass
<
any
>
Parameters
type
:
TypedType
Returns
undefined
|
TypedClass
<
any
>
Static
Get
Class
Type
GetClassType
(
ctor
:
Class
<
any
>
)
:
undefined
|
string
Parameters
ctor
:
Class
<
any
>
Returns
undefined
|
string
Static
Get
Type
GetType
(
v
:
any
,
allowSerializable
?:
boolean
)
:
false
|
TypedType
Parameters
v
:
any
allowSerializable
:
boolean
= true
Returns
false
|
TypedType
Static
Non
Literal
NonLiteral
(
type
:
TypedType
)
:
TypedType
Parameters
type
:
TypedType
Returns
TypedType
Static
Type
To
String
TypeToString
(
type
:
TypedType
)
:
string
Parameters
type
:
TypedType
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
Classes
Methods
Add
Class
Can
Assign
Get
Class
Get
Class
Type
Get
Type
Non
Literal
Type
To
String
ThreePipe
Loading...
Returns true if
tar = srcis valid