containsMethod.Rd
Tests if the input object is associated with specific spatial methods / platforms.
containsMethod(object, ...)
# S4 method for class 'SPATA2'
containsMethod(object, method_name, error = FALSE)
# S4 method for class 'SpatialData'
containsMethod(object, method_name, error = FALSE)
An object of class SPATA2
or, in case of S4 generics,
objects of classes for which a method has been defined.
Used to absorb deprecated arguments or functions.
Character vector. The names of platforms to check.
Logical. If TRUE
and the input is invalid the
function throws an error.
Logical value. TRUE if any of method_name
is the name of the platform.