HED JavaScript Library
    Preparing search index...

    Class SchemaProperty

    A schema property.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _name: string

    The name of this schema entry.

    _propertyType: string

    The type of the property.

    Accessors

    • get isCategoryProperty(): boolean

      Whether this property describes a schema category.

      Returns boolean

    • get isTypeProperty(): boolean

      Whether this property describes a data type.

      Returns boolean

    • get name(): string

      The name of this schema entry.

      Returns string

    Methods

    • Protected

      Memoize a property.

      Type Parameters

      • T

      Parameters

      • propertyName: string

        The property name.

      • valueComputer: () => T

        A function to compute the property's value.

      Returns T

      The computed value.