Yup Number String

Yup.string().matches(/^\d+$/, { message: '' });
DevPedrada