isDatabaseAnnotation function

bool isDatabaseAnnotation (
  1. ElementAnnotation annotation
)

Implementation

bool isDatabaseAnnotation(ElementAnnotation annotation) {
  return annotation.constantValue.type.displayName == "TinanoDb";
}