HMetadataType
A metadata type representation.
Supports All
, Text
and Visual
types.
Methods
print()
source
Prints the HMetadataType
.
Differently from R’s behaviour, print
doesn’t return the value invisibly.
Examples
library(harmonium)
= HMetadataType$All
metadatatype $print()
metadatatype
# or similarly:
print(metadatatype)
eq
eq(other: HMetadataType) -> bool
source
Equality with another HMetadataType
.
Arguments
other
An HMetadataType
.
Returns
A bool
.
Examples
library(harmonium)
= HMetadataType$All
metadatatype1 = HMetadataType$All
metadatatype2 $eq(metadatatype2) # TRUE
metadatatype1
# or similarly:
== metadatatype2 metadatatype1
ne
ne(other: HMetadataType) -> bool
source
Difference with another HMetadataType
.
Arguments
other
An HMetadataType
.
Returns
A bool
.
Examples
library(harmonium)
= HMetadataType$All
metadatatype1 = HMetadataType$All
metadatatype2 $ne(metadatatype2) # FALSE
metadatatype1
# or similarly:
!= metadatatype2 metadatatype1