React.isValidElement(element)

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