// Close closes the obj if it is a Closable.
//
// v2ray:api:beta
Close closes the obj if it is a Closable.

beta
// Close closes the obj if it is a Closable . // // v2ray : api : beta
func Close(obj interface{}) error {
	if c, ok := obj.(Closable); ok {
		return c.Close()
	}
	return nil
}
func Close ( obj interface { } ) error { if c , ok := obj . ( Closable ) ; ok { return c . Close ( ) } return nil }
Close closes the obj if it is a Closable.
Close closes the obj if it is a Closable .