What is the correct matcher for a `is` check? `sho...
# kotest
c
What is the correct matcher for a
is
check?
shouldBe
seems to be
==
, there is
shouldBeInstanceAs
for
===
,
shouldBeTypedOf
for
::class == ::class
, but I don't see anything for
is
.
l
shouldBeInstanceOf
c
Ah, it's not
infix
, that's why it wasn't in autocomplete.
d
Yeah because it uses reified generics