export const isUnique = (value: any, email: any, helper: any) => { if (!value) { return email; } return helper.error('item.unique'); };