(l *State, index, def int)
| 355 | } |
| 356 | |
| 357 | func OptInteger(l *State, index, def int) int { |
| 358 | if l.IsNoneOrNil(index) { |
| 359 | return def |
| 360 | } |
| 361 | return CheckInteger(l, index) |
| 362 | } |
| 363 | |
| 364 | func CheckUnsigned(l *State, index int) uint { |
| 365 | i, ok := l.ToUnsigned(index) |
no test coverage detected