hello, how can I check if a `Decimal` in prisma is...
# orm-help
d
hello, how can I check if a
Decimal
in prisma is higher than 0. if I use
>
operators TS says it
cannot be applied to types 'Decimal'
r
The Decimal type is based on the Decimal.js library, so you can use this method to check.
d
ah i see, thanks 🙂
👍 1