1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

doc: add links to vlib doc - array and map (#15881)

This commit is contained in:
kahsa 2022-09-26 16:06:54 +09:00 committed by GitHub
parent 721328ef58
commit 8623186d31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -642,6 +642,8 @@ age := 12
println('age = $age') println('age = $age')
``` ```
See all methods of [string](https://modules.vlang.io/index.html#string)
### Runes ### Runes
A `rune` represents a single Unicode character and is an alias for `u32`. To denote them, use ` A `rune` represents a single Unicode character and is an alias for `u32`. To denote them, use `
@ -1025,6 +1027,8 @@ There are further built-in methods for arrays:
* `a.join(joiner)` concatenates an array of strings into one string * `a.join(joiner)` concatenates an array of strings into one string
using `joiner` string as a separator using `joiner` string as a separator
See all methods of [array](https://modules.vlang.io/index.html#array)
See also [vlib/arrays](https://modules.vlang.io/arrays.html). See also [vlib/arrays](https://modules.vlang.io/arrays.html).
##### Sorting Arrays ##### Sorting Arrays
@ -1301,6 +1305,8 @@ print(m)
Maps are ordered by insertion, like dictionaries in Python. The order is a Maps are ordered by insertion, like dictionaries in Python. The order is a
guaranteed language feature. This may change in the future. guaranteed language feature. This may change in the future.
See all methods of [map](https://modules.vlang.io/index.html#map)
## Module imports ## Module imports
For information about creating a module, see [Modules](#modules). For information about creating a module, see [Modules](#modules).