(subject)
| 1938 | } |
| 1939 | |
| 1940 | function isArrayish (subject) { |
| 1941 | return isArray(subject) || Buffer.isBuffer(subject) || |
| 1942 | subject && typeof subject === 'object' && |
| 1943 | typeof subject.length === 'number' |
| 1944 | } |
| 1945 | |
| 1946 | function toHex (n) { |
| 1947 | if (n < 16) return '0' + n.toString(16) |