Home
last modified time | relevance | path

Searched refs:isStream (Results 1 – 21 of 21) sorted by relevance

/third_party/node/deps/npm/node_modules/is-stream/
Dindex.js3 var isStream = module.exports = function (stream) { variable
7 isStream.writable = function (stream) {
8 …return isStream(stream) && stream.writable !== false && typeof stream._write === 'function' && typ…
11 isStream.readable = function (stream) {
12 …return isStream(stream) && stream.readable !== false && typeof stream._read === 'function' && type…
15 isStream.duplex = function (stream) {
16 return isStream.writable(stream) && isStream.readable(stream);
19 isStream.transform = function (stream) {
20 …return isStream.duplex(stream) && typeof stream._transform === 'function' && typeof stream._transf…
Dreadme.md17 const isStream = require('is-stream');
19 isStream(fs.createReadStream('unicorn.png'));
22 isStream({});
29 ### isStream(stream)
31 #### isStream.writable(stream)
33 #### isStream.readable(stream)
35 #### isStream.duplex(stream)
37 #### isStream.transform(stream)
/third_party/node/deps/npm/node_modules/isstream/
DREADME.md1 # isStream chapter
9 The missing `Stream.isStream(obj)`: determine if an object is standard Node.js `Stream`. Works for …
14 var isStream = require('isstream')
17 isStream(new Stream()) // true
19 isStream({}) // false
21 isStream(new Stream.Readable()) // true
22 isStream(new Stream.Writable()) // true
23 isStream(new Stream.Duplex()) // true
24 isStream(new Stream.Transform()) // true
25 isStream(new Stream.PassThrough()) // true
[all …]
Disstream.js4 function isStream (obj) { function
10 return isStream(obj) && typeof obj._read == 'function' && typeof obj._readableState == 'object'
15 return isStream(obj) && typeof obj._write == 'function' && typeof obj._writableState == 'object'
24 module.exports = isStream
Dtest.js6 , isStream = require('./') variable
19 t.ok(pass === isStream(stream), type)
/third_party/node/deps/npm/node_modules/got/
Dindex.js9 const isStream = require('is-stream'); constant
94 if (isStream(opts.body)) {
158 if (isStream(opts.body)) {
248 if (isStream(body) && typeof body.getBoundary === 'function') {
251 …} else if (body !== null && typeof body === 'object' && !Buffer.isBuffer(body) && !isStream(body))…
256 …ent-length'] === undefined && opts.headers['transfer-encoding'] === undefined && !isStream(body)) {
/third_party/node/lib/internal/streams/
Dutils.js18 function isStream(obj) { function
33 isStream, property
Dpipeline.js27 isStream,
172 if (isStream(stream)) {
239 } else if (isStream(stream)) {
/third_party/node/deps/npm/node_modules/execa/
Dindex.js7 const isStream = require('is-stream'); constant
67 if (isStream(input)) {
291 if (isStream(parsed.opts.input)) {
/third_party/node/deps/npm/node_modules/make-fetch-happen/
Dindex.js340 const isStream = req.body instanceof Stream
357 if (res.status >= 500 && req.method !== 'POST' && !isStream) {
371 !isStream && (
/third_party/cups-filters/filter/
Dpdf.cxx134 if (!contents.isStream() && !contents.isArray()) in pdf_prepend_stream()
148 if (contents.isStream()) in pdf_prepend_stream()
/third_party/typescript/scripts/types/
Dambient.d.ts36 isStream(): this is T extends NodeJS.ReadableStream ? File<NodeJS.ReadableStream> : never;
/third_party/typescript/scripts/build/
Dutils.js131 file.isStream() ? file.contents :
/third_party/node/deps/npm/node_modules/pacote/node_modules/minipass/
Dindex.js531 static isStream (s) { method in module.exports
DREADME.md375 * `Minipass.isStream(stream)` Returns `true` if the argument is a stream,
/third_party/node/deps/npm/node_modules/tar/node_modules/minipass/
Dindex.js531 static isStream (s) { method in module.exports
DREADME.md375 * `Minipass.isStream(stream)` Returns `true` if the argument is a stream,
/third_party/node/deps/npm/node_modules/minizlib/node_modules/minipass/
Dindex.js531 static isStream (s) { method in module.exports
DREADME.md375 * `Minipass.isStream(stream)` Returns `true` if the argument is a stream,
/third_party/node/deps/npm/node_modules/fs-minipass/node_modules/minipass/
Dindex.js531 static isStream (s) { method in module.exports
DREADME.md375 * `Minipass.isStream(stream)` Returns `true` if the argument is a stream,