Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utils/requestWasValid

Index

Properties

Properties

default

default: (req: ExpressHandlerRequest, res: Response<any, Record<string, any>>) => boolean

Type declaration

    • Checks if parameters to a request in Express passed validation, terminating by sending status 400 if not.

      Parameters

      Returns boolean

Generated using TypeDoc