UNPKG

@stdlib/assert

Version:

Standard assertion utilities.

27 lines (20 loc) 465 B
{{alias}}( value ) Tests if a value is Node transform stream-like. Parameters ---------- value: any Value to test. Returns ------- bool: boolean Boolean indicating whether value is Node transform stream-like. Examples -------- > var Stream = require( 'stream' ).Transform; > s = new Stream(); > var bool = {{alias}}( s ) true > bool = {{alias}}( {} ) false See Also --------