method Duration.prototype.toHours
Duration.prototype.toHours(): Hours

Converts the duration to hours.

Return Type

Usage

import { Duration } from ".";