Validates an object already parsed from the request, as check() does.
This is what a body check uses, because req.body is a string here and helpers.parseBody() is what makes an object of it.
req.body
helpers.parseBody()
the parsed object
the input group's name, which decides whether a line break is allowed and appears in the refusal
the zod object schema
{ ok: true, value } with the parsed data, or a refusal
{ ok: true, value }
Validates an object already parsed from the request, as check() does.
This is what a body check uses, because
req.bodyis a string here andhelpers.parseBody()is what makes an object of it.