package main import "reflect" func IsNil(input any) bool { value := reflect.ValueOf(input) return value.IsNil() } func main() { println(IsNil(3)) }