Skip to content

hasMultipart

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/openapi/multipart.ts

True when the operation body is worth publishing as multipart at all.

Signature

ts
function hasMultipart(body: MultipartBody | undefined): body is MultipartBody

Parameters

NameType
body`MultipartBody

Returns: body is MultipartBody

Was this page helpful?

Download as PDF