ValidatorWithMessagetstype ValidatorWithMessage: (x) => true | string; Parameters • x: unknown Returns true | string