code: function hasBinary(obj) {
    if (!obj || typeof obj !== "object") {
      return false;
    }
  
    if (isarray(obj)) {
      for (var i = 0, l = obj.length; i < l; i++) {
        if (hasBinary(obj[i])) {
          return true;
        }
      }
      return false;
    }
  
    if (
      (typeof Buffer === "function" && Buffer.isBuffer && Buffer.isBuffer(obj)) ||
      (typeof ArrayBuffer === "function" && obj instanceof ArrayBuffer) ||
      (withNativeBlob$1 && obj instanceof Blob) ||
      (withNativeFile$1 && obj instanceof File)
    ) {
      return true;
    }
  
    // see: https://github.com/Automattic/has-binary/pull/4
    if (obj.toJSON && typeof obj.toJSON === "function" && arguments.length === 1) {
      return hasBinary(obj.toJSON(), true);
    }
  
    for (var key in obj) {
      if (Object.prototype.hasOwnProperty.call(obj, key) && hasBinary(obj[key])) {
        return true;
      }
    }
  
    return false;
  }
docs: Checks for binary data.
  
  Supports Buffer, ArrayBuffer, Blob and File.
  
  @param {Object} anything
  @api public