title: InvalidClear layout: article

InvalidClear occurs when clear is called with an argument
that is not of map or slice type.

Example:
 func _(x int) {
 	clear(x)
 }