license /** Coerces a data-bound value (typically a string) to a number. */ export function coerceNumberProperty ( value ) ; export function coerceNumberProperty < D > ( value , fallback ) ; export function coerceNumberProperty ( value , fallbackValue = 0 ) { return _isNumberValue ( value ) ? Number ( value ) : fallbackValue ; } docs-private export function _isNumberValue ( value ) { return ! isNaN ( parseFloat ( value as any ) ) && ! isNaN ( Number ( value ) ) ; }