Check if the object x is of class spectral

is.spectral(x)

Arguments

x

Object to check if it is of class spectral

Value

TRUE if x is of class spectral. FALSE otherwise