code: function _gpfFsCloseBuild (ExpectedBaseClass) {
      return function (stream) {
          if (stream instanceof ExpectedBaseClass) {
              return stream.close();
          }
          return Promise.reject(new gpf.Error.IncompatibleStream());
      };
  }
docs: /*exported _gpfFsCloseBuild Build close method that assess the stream type /*#endif 
  Build close method that assess the stream type
  
  @param {Function} ExpectedBaseClass Expected base class
  @return {Function} Close implementation
  @since 0.2.7