(l *State, index int)
| 362 | } |
| 363 | |
| 364 | func CheckUnsigned(l *State, index int) uint { |
| 365 | i, ok := l.ToUnsigned(index) |
| 366 | if !ok { |
| 367 | tagError(l, index, TypeNumber) |
| 368 | } |
| 369 | return i |
| 370 | } |
| 371 | |
| 372 | func OptUnsigned(l *State, index int, def uint) uint { |
| 373 | if l.IsNoneOrNil(index) { |
no test coverage detected