Skip to content
It's Vapor Week! Celebrating 10 Years of Vapor Read more

Instance Method

requireParameterCount(_:)

Throws an error if the parameter count does not equal the supplied number n.
func requireParameterCount(_ n: Int) throws