Periodic Table Database Schema - v0.6.4
    Preparing search index...

    Interface ValueFields<Q, T, S>

    Interface defining the possible fields for various value representations.

    interface ValueFields<
        Q extends PhysicalQuantity = PhysicalQuantity,
        T extends Primitive = Primitive,
        S extends StructType = StructType,
    > {
        range?: RequireAtLeastOne<
            Record<
                "upper"
                | "lower",
                {
                    inclusive?: boolean;
                    uncertainty?: Uncertainty | undefined;
                    value: number;
                },
            >,
        >;
        struct?: S;
        unit?: UnitId<Q>;
        value?: T;
        values?: T[];
    }

    Type Parameters

    Index

    Properties

    range?: RequireAtLeastOne<
        Record<
            "upper"
            | "lower",
            {
                inclusive?: boolean;
                uncertainty?: Uncertainty | undefined;
                value: number;
            },
        >,
    >

    A continuous range between two boundary conditions.

    struct?: S

    Structured object for complex data sets.

    unit?: UnitId<Q>

    The unit identification for physical quantities.

    value?: T

    A single data point.

    values?: T[]

    A collection of discrete data points.