Lasya(@lasyaCodes) 's Twitter Profile Photo

Any leads? Exploring zod n custom err responses.
Issue:JS able to validate float val i.e, 5.1, 6.2 but not 5.0r 6.0 looks like JS is converting 5.0to5
Tried following:
->toString(),data.includes('.'))
->data%1!==0
->data==Math.floor(data)
->!Number.IsInteger(data)

Any leads? Exploring zod n custom err responses. 
Issue:JS able to validate float val i.e, 5.1, 6.2 but not 5.0r 6.0 looks like JS is converting 5.0to5
Tried following:
->toString(),data.includes('.'))
->data%1!==0
->data==Math.floor(data)
->!Number.IsInteger(data)
#LearnInPublic
account_circle
Lasya(@lasyaCodes) 's Twitter Profile Photo

Wohoo!
Week 3✅ with assignments
->Explored Middleware, Global caches, Zod validations, mongoose library for MongoDB n Node.js.
->yet to explore more onto DOM.
->Onto Week 4 :)

Wohoo!
Week 3✅ with assignments
->Explored Middleware, Global caches, Zod validations, mongoose library for MongoDB n Node.js.
->yet to explore more onto DOM.
->Onto Week 4 :)
account_circle