Convert an unknown value to a string, returning empty string for null/undefined. Throws for non-string types (numbers, objects, etc.) to prevent silent coercion.
Used internally for DAML optional enum fields where null means "not set".
Convert an unknown value to a string, returning empty string for null/undefined. Throws for non-string types (numbers, objects, etc.) to prevent silent coercion.
Used internally for DAML optional enum fields where null means "not set".