as-number

typeof number, or use a default

Browse on unpkg