func (s *SinglyLinkedList[T]) GetValueAt(index int) (res T, err error) {
	current, err := s.getNode(index)
	if err != nil {
		return res, err
	}
	return current.Value, nil
}
// GetValueAt returns value at a specific index in the list
GetValueAt returns value at a specific index in the list
// GetValueAt returns value at a specific index in the list
func (s *SinglyLinkedList[T]) GetValueAt(index int) (res T, err error) {
	current, err := s.getNode(index)
	if err != nil {
		return res, err
	}
	return current.Value, nil
}
func ( s * SinglyLinkedList [ T ] ) GetValueAt ( index int ) ( res T , err error ) { current , err := s . getNode ( index ) if err != nil { return res , err } return current . Value , nil }
GetValueAt returns value at a specific index in the list
GetValueAt returns value at a specific index in the list