is.FLIndex {FLCore}R Documentation

FLIndex

Description

Testing for the class of FLIndex objects

Usage

  is.FLIndex(x)
  is.FLIndexCom(x)
  is.FLIndexSurvey(x)
  is.FLIndexAcoustic(x)

Arguments

x

{a FLIndex object or any other object to test.}

Value

is.FLIndex returns TRUE or FALSE depending on whether the object is or not of class FLIndex.

Author(s)

FLR Team

See Also

FLIndex-class

Examples

        # This is TRUE
        is.FLIndex(FLIndex())

        # and this is TRUE too
        is.FLIndex(FLIndexCom())
        
        # This is clearly TRUE
        is.FLIndexCom(FLIndexCom())
        
        # but this is FALSE
        is.FLIndexCom(FLIndex())

[Package FLCore version 1.1 Index]