check_wn_col: Check the Currently Set Wavenumber Column
Description
This function checks which column has been set as the default wavenumber column.
If no column has been set, it prints a message prompting the user to define one.
Usage
check_wn_col(show_val = FALSE)
Value
If `show_val = TRUE`, returns the name of the wavenumber column (character). Otherwise, it only prints a message.
Arguments
show_val
Logical. If `TRUE`, the function returns the name of the current wavenumber column. Default is `FALSE`.
set_spec_wn("Wavenumber") # Set the wavenumber columncheck_wn_col() # Check which column is setcheck_wn_col(show_val = TRUE) # Check and return the column name