Reads the success status a route handler was branded with.
The handler to inspect
The metadata, or undefined when the handler carries none
undefined
const status = responseMetadataOf(route.definition.handler)?.status ?? 200; Copy
const status = responseMetadataOf(route.definition.handler)?.status ?? 200;
0.7.0
Reads the success status a route handler was branded with.