getVertexAttrib

abstract fun getVertexAttrib(index: GLuint, pname: GLenum): Any?(source)

MDN Reference