-
Notifications
You must be signed in to change notification settings - Fork 2
greeting(atHour:)
pokryfka edited this page Oct 1, 2020
·
4 revisions
Returns an appropriate greeting message at specified time of the day.
public func greeting(atHour hour: Int? = nil) throws -> Greeting
- hour: hour, 0-23
may throw GreetingError.invalidHour
if the hour is not valid
greeting message
Generated at 2020-10-02T05:43:09+0000 using swift-doc 1.0.0-beta.5.