github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/docs/reference/stdlibs/std/address.md (about) 1 --- 2 id: address 3 --- 4 5 # Address 6 Native address type in Gno, conforming to the Bech32 format. 7 8 ```go 9 type Address string 10 func (a Address) String() string {...} 11 func (a Address) IsValid() bool {...} 12 ``` 13 14 ## String 15 Get **string** representation of **Address**. 16 17 #### Usage 18 ```go 19 stringAddr := addr.String() 20 ``` 21 22 --- 23 ## IsValid 24 Check if **Address** is of a valid format. 25 26 #### Usage 27 ```go 28 if !address.IsValid() {...} 29 ```