hasType<T> method

bool hasType<T>()

Checks whether the value stored in the CborObject has the specified type T.

Implementation

bool hasType<T>() {
  return this is T;
}