Glossary: Coding Interviews in Go
any
Also written: x.(int), type assertion
Go's type that can hold a value of any type. The heap's `Push` and `Pop` use `any`, so `x.(int)` converts the value back to an `int`.
Glossary: Coding Interviews in Go
Also written: x.(int), type assertion
Go's type that can hold a value of any type. The heap's `Push` and `Pop` use `any`, so `x.(int)` converts the value back to an `int`.