Skip Navigation
Type MethodMethod

shortMinutes(_:)

Returns the short unit of a number of minutes: min or mins.

static func shortMinutes(_ minutes: Int) -> String

Parameters

minutes

The number of minutes.

Return Value

The unit.