fix: small fixes and release prep

This commit is contained in:
Taranto 2020-12-24 13:29:32 +00:00 committed by Josh Harvey
parent 5823485ab7
commit 0ad1ba2f77
20 changed files with 195 additions and 164 deletions

View file

@ -0,0 +1,7 @@
import * as R from 'ramda'
const isValidNumber = R.both(R.is(Number), R.complement(R.equals(NaN)))
const transformNumber = value => (isValidNumber(value) ? value : null)
export { transformNumber }