code: func ArgumentCheck(l *State, cond bool, index int, extraMessage string) {
  	if !cond {
  		ArgumentError(l, index, extraMessage)
  	}
  }
docs: // ArgumentCheck checks whether cond is true. If not, raises an error with a standard message.