How to use the instanceof function from is
Find comprehensive JavaScript is.instanceof code examples handpicked from public code repositorys.
53 54 55 56 57 58 59 60 61 62
if (is.nil(val)) { return { nullValue: 'NULL_VALUE' }; } if (is.instanceof(val, Buffer) || is.instanceof(val, Uint8Array)) { return { bytesValue: val }; }
889
0
2