Documentation
    Preparing search index...

    Function validateVector3Document

    • Validates a value as three finite numbers.

      Exported because component serializers (ยง79 registers them per type) store positions and directions constantly, and re-deriving this check per package would be the same six lines with different error messages.

      Parameters

      • value: unknown

        the candidate { x, y, z }

      • path: string

        a dotted path used in error messages

      Returns Vector3Document

      the frozen, canonical vector document

      TypeError if a component is missing or not finite