Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MetadataCollection

Internal class that stores information on registered type metadata

author

Jānis Radiņš

Hierarchy

  • MetadataCollection

Index

Methods

getInheritedMetadata

  • Get inherited metadata for some instance (including its own prototype)

    Parameters

    • instance: any

      Any class instance that might be inheriting from any of metadata clients

    Returns TypeMetadata[]

    A collection of all metadata entries that can be matched with instance

getOrCreateTypeMetadata

getTypeMetadataExportFormat

typeMetadataIsRegistered

  • typeMetadataIsRegistered(type: Type<any>): boolean