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

    Type Alias Unit<Q, U, isBase>

    Unit: Expand<
        Brand<
            {
                isBase: isBase;
                latex: string;
                name: LangGroup;
                prefixable: U extends PrefixableUnitSymbols<Q> ? true : false;
                system?: MeasurementSystem;
            } & ConversionField<isBase>,
            U,
            "symbol",
            true,
        >,
    >

    Detailed definition of a measurement unit, including its name and conversion factors.

    Type Parameters

    • Q extends PhysicalQuantity

      The physical quantity to which the unit belongs.

    • U extends BaseUnitSymbols<Q>

      The unit symbol.

    • isBase extends boolean = U extends ValidUnits[Q]["baseUnit"] ? true : false

      Indicates if this is the quantity's reference unit.