Skip to content

Commit 4fcaf3b

Browse files
committed
remove duplicate code
1 parent 8f4d34e commit 4fcaf3b

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/vs/base/common/buffer.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,6 @@ export interface ReadableStream<T> {
177177
destroy(): void;
178178
}
179179

180-
export function isVSBufferReadableStream(obj: any): obj is VSBufferReadableStream {
181-
const candidate: VSBufferReadableStream = obj;
182-
183-
return candidate && [candidate.on, candidate.pause, candidate.resume, candidate.destroy].every(fn => typeof fn === 'function');
184-
}
185-
186180
/**
187181
* A readable stream that sends data via VSBuffer.
188182
*/

0 commit comments

Comments
 (0)