/third_party/node/deps/npm/node_modules/is-stream/ |
D | index.js | 3 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…
|
D | readme.md | 17 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/ |
D | README.md | 1 # 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 …]
|
D | isstream.js | 4 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
|
D | test.js | 6 , isStream = require('./') variable 19 t.ok(pass === isStream(stream), type)
|
/third_party/node/deps/npm/node_modules/got/ |
D | index.js | 9 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/ |
D | utils.js | 18 function isStream(obj) { function 33 isStream, property
|
D | pipeline.js | 27 isStream, 172 if (isStream(stream)) { 239 } else if (isStream(stream)) {
|
/third_party/node/deps/npm/node_modules/execa/ |
D | index.js | 7 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/ |
D | index.js | 340 const isStream = req.body instanceof Stream 357 if (res.status >= 500 && req.method !== 'POST' && !isStream) { 371 !isStream && (
|
/third_party/cups-filters/filter/ |
D | pdf.cxx | 134 if (!contents.isStream() && !contents.isArray()) in pdf_prepend_stream() 148 if (contents.isStream()) in pdf_prepend_stream()
|
/third_party/typescript/scripts/types/ |
D | ambient.d.ts | 36 isStream(): this is T extends NodeJS.ReadableStream ? File<NodeJS.ReadableStream> : never;
|
/third_party/typescript/scripts/build/ |
D | utils.js | 131 file.isStream() ? file.contents :
|
/third_party/node/deps/npm/node_modules/pacote/node_modules/minipass/ |
D | index.js | 531 static isStream (s) { method in module.exports
|
D | README.md | 375 * `Minipass.isStream(stream)` Returns `true` if the argument is a stream,
|
/third_party/node/deps/npm/node_modules/tar/node_modules/minipass/ |
D | index.js | 531 static isStream (s) { method in module.exports
|
D | README.md | 375 * `Minipass.isStream(stream)` Returns `true` if the argument is a stream,
|
/third_party/node/deps/npm/node_modules/minizlib/node_modules/minipass/ |
D | index.js | 531 static isStream (s) { method in module.exports
|
D | README.md | 375 * `Minipass.isStream(stream)` Returns `true` if the argument is a stream,
|
/third_party/node/deps/npm/node_modules/fs-minipass/node_modules/minipass/ |
D | index.js | 531 static isStream (s) { method in module.exports
|
D | README.md | 375 * `Minipass.isStream(stream)` Returns `true` if the argument is a stream,
|