isNumberOrEmptyString

function isNumberOrEmptyString(x): x is number | ""

This validator validates that value is either number or empty string

Parameters

ParameterType
xunknown

Returns

x is number | ""