This functions checks whether there are any data sets (time series, gap sets or recurrence matrices) in the environment (KTSEnv). If it is the case, it launches a function.
checkIfAny(action = NULL, envirName = KTSEnv)
The function to be launched
The environment where the data sets are to be found