Skip to content

Documentation / listr2 / isReadable

Function: isReadable()

isReadable(obj): obj is ReadableLike

Tests to see if the object is an Readable or NodeJS.ReadableStream Readable, NodeJS.ReadableStream

Parameters

obj: any

the object to test

Returns

obj is ReadableLike

Defined in

packages/listr2/src/utils/environment/is-readable.ts:7