whether the given object is a WebGL context
npm install is-webgl-context
Test whether the given object is a WebGL or WebGL2 context. This is useful to handle edge-cases, such as when Chrome WebGL Inspector wraps WebGLRenderingContext in a different type.
Runs in Node and the browser.
``js
var isGL = require('is-webgl-context')
isGL(foo)
`

#### isGLContext(obj)`
Returns true if the object is an instance of WebGL[2]RenderingContext, handling edge cases for WebGL debuggers/inspectors.
MIT, see LICENSE.md for details.