is_signature: Test if the object is a matchr_signature

View source: R/matchr_signature.R

is_signatureR Documentation

Test if the object is a matchr_signature

Description

This function returns TRUE for matchr_signature objects and FALSE for all other objects.

Usage

is_signature(x)

Arguments

x

An object to test

Value

A logical scalar, TRUE if x inherits from class "matchr_signature" and FALSE otherwise.

Examples

## Not run: 
# Setup
sigs <- create_signature(test_urls)

# TRUE
is_signature(sigs)

# FALSE
is_signature("text")

## End(Not run)

UPGo-McGill/matchr documentation built on July 19, 2023, 1:02 p.m.