Well, it catches null. But you could also write it as `value && value.type === 'Buffer'`