@neutrium/utilities - v3.1.0
    Preparing search index...

    Interface DecimalCoreAdapter

    Immutable Decimal core context, with tier-preserving configuration.

    interface DecimalCoreAdapter {
        config: Readonly<DecimalConfig>;
        id: string;
        identity: object;
        tier: "scientific" | "core" | "arithmetic";
        compare(a: CoreDecimal, b: CoreDecimal): number;
        from(value: unknown): CoreDecimal;
        isFinite(value: CoreDecimal): boolean;
        isInteger(value: CoreDecimal): boolean;
        isNaN(value: CoreDecimal): boolean;
        isValue(value: unknown): value is CoreDecimal;
        toNumber(value: CoreDecimal): number;
        toString(value: CoreDecimal): string;
        withConfig(options: DecimalConfigInput): DecimalCoreAdapter;
    }

    Hierarchy (View Summary)

    Index
    config: Readonly<DecimalConfig>

    Frozen Decimal settings captured when the adapter is created.

    id: string

    Diagnostic backend name, not a compatibility key.

    identity: object

    Stable backend compatibility identity, shared across tiers and configurations.

    tier: "scientific" | "core" | "arithmetic"

    Available capability tier.