stype_predicates: Useful stype predicates

stype_predicatesR Documentation

Useful stype predicates

Description

Useful stype predicates

Usage

is_constant(x)

is_not_constant(x)

is_tagged(x)

## S4 method for signature 'purpose'
is_tagged(x)

## S4 method for signature 'context'
is_tagged(x)

## S4 method for signature 'stype'
is_tagged(x)

## S4 method for signature 'ANY'
is_tagged(x)

is_not_tagged(x)

## S4 method for signature 'ANY'
is_not_tagged(x)

has_tag(x, tag)

## S4 method for signature 'purpose'
has_tag(x, tag)

## S4 method for signature 'context'
has_tag(x, tag)

## S4 method for signature 'stype'
has_tag(x, tag)

## S4 method for signature 'ANY'
has_tag(x, tag)

has_any_tags(x, tags)

## S4 method for signature 'ANY'
has_any_tags(x, tags)

has_all_tags(x, tags)

## S4 method for signature 'ANY'
has_all_tags(x, tags)

has_only_tags(x, tags)

## S4 method for signature 'purpose'
has_only_tags(x, tags)

## S4 method for signature 'context'
has_only_tags(x, tags)

## S4 method for signature 'stype'
has_only_tags(x, tags)

## S4 method for signature 'ANY'
has_only_tags(x, tags)

Arguments

x

a stype or other object

tag

a length 1 character vector

tags

a character vector

Functions

  • is_constant: is this vector constant?

  • is_not_constant: is this vector not constant?

  • is_tagged: Is this object tagged?

  • is_tagged,purpose-method: Is this purpose tagged?

  • is_tagged,context-method: Is this context tagged?

  • is_tagged,stype-method: Is this stype tagged?

  • is_tagged,ANY-method: Is this non-stype tagged? FALSE

  • is_not_tagged: Is this object not tagged?

  • is_not_tagged,ANY-method: Is this non-stype tagged? FALSE

  • has_tag: Does x have the tag?

  • has_tag,purpose-method: Does purpose have tag?

  • has_tag,context-method: Does context have tag?

  • has_tag,stype-method: Does stype have tag?

  • has_tag,ANY-method: Does this non-stype have tag?

  • has_any_tags: Does x have any of the tags?

  • has_any_tags,ANY-method: Does x have any of the tags?

  • has_all_tags: Does x have all of the tags?

  • has_all_tags,ANY-method: Does x have all of the tags?

  • has_only_tags: Does x have only the tags?

  • has_only_tags,purpose-method: Does x have only the tags?

  • has_only_tags,context-method: Does x have only the tags?

  • has_only_tags,stype-method: Does x have only the tags?

  • has_only_tags,ANY-method: Does x have only the tags?


novisci/stype documentation built on July 28, 2022, 7:44 a.m.