Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lexicality
on Sept 4, 2020
|
parent
|
context
|
favorite
| on:
A word for a value between 0 and 1 (inclusive)
Typescript:
type NormalisedFloat = number
Admittedly it doesn't add any actual value checking, but it does convey the information when you look at the parameter definition.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: