UNPKG

@itwin/ecschema-metadata

Version:

ECObjects core concepts in typescript

34 lines 1.13 kB
/** @packageDocumentation * @module Metadata */ import { SchemaItemType } from "../ECObjects"; import { SchemaItem } from "./SchemaItem"; /** * @public @preview */ export declare class UnitSystem extends SchemaItem { readonly schemaItemType: SchemaItemType; /** @internal */ static get schemaItemType(): SchemaItemType; /** * Type guard to check if the SchemaItem is of type UnitSystem. * @param item The SchemaItem to check. * @returns True if the item is a UnitSystem, false otherwise. */ static isUnitSystem(item?: SchemaItem): item is UnitSystem; /** * Type assertion to check if the SchemaItem is of type UnitSystem. * @param item The SchemaItem to check. * @returns The item cast to UnitSystem if it is a UnitSystem, undefined otherwise. * @internal */ static assertIsUnitSystem(item?: SchemaItem): asserts item is UnitSystem; } /** * @internal * Used for schema editing. */ export declare abstract class MutableUnitSystem extends UnitSystem { abstract setDisplayLabel(displayLabel: string): void; } //# sourceMappingURL=UnitSystem.d.ts.map