flyd.js
/**
 * @private
 * Create a stream with no dependencies and no value
 * @return {Function} a flyd stream
 */
@private
Create a stream with no dependencies and no value
@return {Function} a flyd stream
@private Create a stream with no dependencies and no value @return { Function } a flyd stream
function createStream() {
  function s(n) {
    if (arguments.length === 0) return s.val
    updateStreamValue(s, n)
    return s
  }
  s.hasVal = false;
  s.val = undefined;
  s.vals = [];
  s.listeners = [];
  s.queued = false;
  s.end = undefined;
  s.map = boundMap;
  s.ap = ap;
  s.of = flyd.stream;
  s.toString = streamToString;
  return s;
}
function createStream ( ) { function s ( n ) { if ( arguments . length === 0 ) return s . val updateStreamValue ( s , n ) return s } s . hasVal = false ; s . val = undefined ; s . vals = [ ] ; s . listeners = [ ] ; s . queued = false ; s . end = undefined ; s . map = boundMap ; s . ap = ap ; s . of = flyd . stream ; s . toString = streamToString ; return s ; }
@private
 Create a stream with no dependencies and no value
 @return {Function} a flyd stream
@private Create a stream with no dependencies and no value @return { Function } a flyd stream