import { validator } from './validator'; export const required = validator((_) => _ !== null && _ !== undefined && _ !== '');