React.isValidElement(element)

Is there a similar function in solid?
2 Replies
Jasmin
Jasmin14mo ago
In Solid, elements are actually real html elements. There is no abstraction. So this should work: element instanceof Element
itsyoboieltr
itsyoboieltr14mo ago
thank you!
Want results from more Discord servers?
Add your server