minLengthValidator

function minLengthValidator(min): (x) => x is string

Parameters

ParameterType
minnumber

Returns

Function

Parameters

ParameterType
xunknown

Returns

x is string