Check if a value is a Buffer. This exists due to an inconsistency with the
way Buffer.isBuffer is defined in @types/node and differs from similar
functionality such as Array.isArray. This leads Buffer.isBuffer to
result in an unbound method reference error despite being a static call.
Eslint Rule: eslint@typescript-eslint/unbound-method
Check if a value is a Buffer. This exists due to an inconsistency with the way
Buffer.isBuffer
is defined in@types/node
and differs from similar functionality such asArray.isArray
. This leadsBuffer.isBuffer
to result in an unbound method reference error despite being a static call. Eslint Rule: eslint@typescript-eslint/unbound-method