In an action for the recovery of specific personal property, if the property has not been delivered to the plaintiff, or if the defendant by his answer claims a return thereof, the jury, if its verdict is in favor of the plaintiff, or if its verdict is in favor of the defendant and it also finds that defendant is entitled to have the property returned to him, it shall determine the value of the property and may at the same time assess the damages, if any are claimed in the complaint or answer, which the prevailing party has sustained by reason of the taking or detention of such property.
A.R.S. § 12-1307