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

Converts the duration to hours.

Return Type

number

Usage

import { Duration } from ".";