github.com/gotd/td/tg.WalletStateArray.Retain (method)

one use

	github.com/gotd/td/tg (current package)
		tl_wallet_state_slices_gen.go#L302: func (s WalletStateArray) Retain(keep func(x WalletState) bool) WalletStateArray {