MockK API
Toggle table of contents
1.14.8-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
MockK API
mockk-dsl
/
io.mockk
/
MockKMatcherScope
/
ofType
of
Type
common
inline
fun
<
T
:
Any
,
R
:
T
>
ofType
(
cls
:
KClass
<
R
>
)
:
T
(
source
)
inline
fun
<
T
:
Any
>
ofType
(
)
:
T
(
source
)
Checks if the value belongs to the type.