Closed gillstrom closed 8 years ago
You could potentially just check for string or number types, since they're the only ones that you want rendered as text anyway. It was mainly just to stop values like false
, objects, undefined, null etc from rendering as text.
Changed the check to check for string
or number
.
Thanks!
Is there any better way to check for falsy values except numbers?
Fixes #354.