IsNumber verifies that the value at index is a number. http://www.lua.org/manual/5.2/manual.html#lua_isnumber
(index int)
| 681 | // |
| 682 | // http://www.lua.org/manual/5.2/manual.html#lua_isnumber |
| 683 | func (l *State) IsNumber(index int) bool { |
| 684 | _, ok := l.toNumber(l.indexToValue(index)) |
| 685 | return ok |
| 686 | } |
| 687 | |
| 688 | // IsString verifies that the value at index is a string, or a number (which |
| 689 | // is always convertible to a string). |
nothing calls this directly
no test coverage detected