IsA

The IsA base member returns whether the className of the object is equal to the string supplied. --What IsA would look like if scripted in lua function object:IsA( classToTest) return classToTest == self.className end