5 lines
146 B
Plaintext
5 lines
146 B
Plaintext
|
import is from '@sindresorhus/is';
|
||
|
export default function isFormData(body) {
|
||
|
return is.nodeStream(body) && is.function_(body.getBoundary);
|
||
|
}
|