In all cases of writs of prohibition or of writs of mandamus, the costs of each case shall be taxed by the court having jurisdiction of the cause, as it deems equitable and just.
21 Del. Laws, c. 306; Code 1915, § 4446; Code 1935, § 4904; 10 Del. C. 1953, § 5103.