toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.reflect
Package-level
declarations
Types
Functions
Types
Has
Instance
Link copied to clipboard
typealias
HasInstance
=
(
instance
:
Any
?
)
->
Boolean
Has
Instance
Symbol
Holder
Link copied to clipboard
external
interface
HasInstanceSymbolHolder
Proxy
Link copied to clipboard
external
class
Proxy
<
T
:
Any
>
(
target
:
T
,
handler
:
ProxyHandler
<
T
>
)
Proxy
Handler
Link copied to clipboard
external
interface
ProxyHandler
<
in
T
:
Any
>
Reflect
Link copied to clipboard
external
object
Reflect
Functions
new
Instance
Link copied to clipboard
fun
<
T
:
Any
>
JsClass
<
T
>
.
newInstance
(
)
:
T
unsafe
Cast
Link copied to clipboard
inline
fun
<
T
>
unsafeCast
(
value
:
Any
?
)
:
T
inline
fun
<
T
:
Any
>
unsafeCast
(
value
:
String
)
:
T
inline
fun
<
T
:
Any
>
unsafeCast
(
value
:
String
?
)
:
T
?
upcast
Link copied to clipboard
inline
fun
<
T
>
T
.
upcast
(
)
:
T