Page Contents

Home > @loopback/rest > JsonBodyParser > supports

JsonBodyParser.supports() method

Signature:

supports(mediaType: string): boolean;

Parameters

Parameter Type Description
mediaType string  

Returns:

boolean