HMetadataType

A metadata type representation.

Supports All, Text and Visual types.

Methods

print

print() source

Prints the HMetadataType.

Differently from R’s behaviour, print doesn’t return the value invisibly.

Examples

library(harmonium)
metadatatype = HMetadataType$All
metadatatype$print()

# or similarly:
print(metadatatype)

eq

eq(other: HMetadataType) -> bool source

Equality with another HMetadataType.

Arguments

  • other

An HMetadataType.

Returns

A bool.

Examples

library(harmonium)
metadatatype1 = HMetadataType$All
metadatatype2 = HMetadataType$All
metadatatype1$eq(metadatatype2) # TRUE

# or similarly:
metadatatype1 == metadatatype2

ne

ne(other: HMetadataType) -> bool source

Difference with another HMetadataType.

Arguments

  • other

An HMetadataType.

Returns

A bool.

Examples

library(harmonium)
metadatatype1 = HMetadataType$All
metadatatype2 = HMetadataType$All
metadatatype1$ne(metadatatype2) # FALSE

# or similarly:
metadatatype1 != metadatatype2