IsUserData verifies that the value at index is a userdata. http://www.lua.org/manual/5.2/manual.html#lua_isuserdata
(index int)
| 701 | // |
| 702 | // http://www.lua.org/manual/5.2/manual.html#lua_isuserdata |
| 703 | func (l *State) IsUserData(index int) bool { |
| 704 | _, ok := l.indexToValue(index).(*userData) |
| 705 | return ok |
| 706 | } |
| 707 | |
| 708 | // Arith performs an arithmetic operation over the two values (or one, in |
| 709 | // case of negation) at the top of the stack, with the value at the top being |
nothing calls this directly
no test coverage detected