DiscofyAPI/node_modules/got/source/utils/is-form-data.js

5 lines
134 B
JavaScript

'use strict';
const is = require('@sindresorhus/is');
module.exports = body => is.nodeStream(body) && is.function(body.getBoundary);