docs: function chunkBy(collection, fn, ctx) {
    const [col, func] = isFunction(collection) ? [null, collection.bind(fn)] : [collection, fn.bind(ctx)];
    return col ? sequence(col, chunkBy(func)) : xform => chunkByTransducer(func, xform);
  }