function isBuffer(val) {
        return (
          val !== null &&
          !isUndefined(val) &&
          val.constructor !== null &&
          !isUndefined(val.constructor) &&
          typeof val.constructor.isBuffer === "function" &&
          val.constructor.isBuffer(val)
        );
      }
/**
       * Determine if a value is a Buffer
       *
       * @param {Object} val The value to test
       * @returns {boolean} True if value is a Buffer, otherwise false
       */
Determine if a value is a Buffer
@param {Object} val The value to test
@returns {boolean} True if value is a Buffer, otherwise false
Determine if a value is a Buffer @param { Object } val The value to test @returns { boolean } True if value is a Buffer otherwise false
function isBuffer(val) {
        return (
          val !== null &&
          !isUndefined(val) &&
          val.constructor !== null &&
          !isUndefined(val.constructor) &&
          typeof val.constructor.isBuffer === "function" &&
          val.constructor.isBuffer(val)
        );
      }
function isBuffer ( val ) { return ( val !== null && ! isUndefined ( val ) && val . constructor !== null && ! isUndefined ( val . constructor ) && typeof val . constructor . isBuffer === "function" && val . constructor . isBuffer ( val ) ) ; }
Determine if a value is a Buffer
 @param {Object} val The value to test
 @returns {boolean} True if value is a Buffer, otherwise false
Determine if a value is a Buffer @param { Object } val The value to test @returns { boolean } True if value is a Buffer otherwise false