function $1cbd2f72abde9a52$var$validChunk(stream, state, chunk, cb) {
    var er;
    if (chunk === null) er = new $1cbd2f72abde9a52$var$ERR_STREAM_NULL_VALUES();
    else if (typeof chunk !== 'string' && !state.objectMode) er = new $1cbd2f72abde9a52$var$ERR_INVALID_ARG_TYPE('chunk', [
        'string',
        'Buffer'
    ], chunk);
    if (er) {
        $1cbd2f72abde9a52$var$errorOrDestroy(stream, er);
        process.nextTick(cb, er);
        return false;
    }
    return true;
}
// and undefined/non-string values are only allowed in object mode.
and undefined/non-string values are only allowed in object mode.
and undefined / non - string values are only allowed in object mode .
function $1cbd2f72abde9a52$var$validChunk(stream, state, chunk, cb) {
    var er;
    if (chunk === null) er = new $1cbd2f72abde9a52$var$ERR_STREAM_NULL_VALUES();
    else if (typeof chunk !== 'string' && !state.objectMode) er = new $1cbd2f72abde9a52$var$ERR_INVALID_ARG_TYPE('chunk', [
        'string',
        'Buffer'
    ], chunk);
    if (er) {
        $1cbd2f72abde9a52$var$errorOrDestroy(stream, er);
        process.nextTick(cb, er);
        return false;
    }
    return true;
}
function $1cbd2f72abde9a52$var$validChunk ( stream , state , chunk , cb ) { var er ; if ( chunk === null ) er = new $1cbd2f72abde9a52$var$ERR_STREAM_NULL_VALUES ( ) ; else if ( typeof chunk !== 'string' && ! state . objectMode ) er = new $1cbd2f72abde9a52$var$ERR_INVALID_ARG_TYPE ( 'chunk' , [ 'string' , 'Buffer' ] , chunk ) ; if ( er ) { $1cbd2f72abde9a52$var$errorOrDestroy ( stream , er ) ; process . nextTick ( cb , er ) ; return false ; } return true ; }
and undefined/non-string values are only allowed in object mode.
and undefined / non - string values are only allowed in object mode .