2018-07-13 20:35:27 +08:00
|
|
|
---
|
|
|
|
title: "data#dict API"
|
2018-09-25 22:09:28 +08:00
|
|
|
description: "data#dict API provides some basic functions and values for dict."
|
2018-07-13 20:35:27 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
# [Available APIs](../../) >> data#dict
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc GFM -->
|
|
|
|
|
|
|
|
- [Intro](#intro)
|
|
|
|
- [functions](#functions)
|
|
|
|
|
|
|
|
<!-- vim-markdown-toc -->
|
|
|
|
|
|
|
|
## Intro
|
|
|
|
|
|
|
|
`data#dict` API provides some functions to manipulate a dict. Here is an example for using this api:
|
|
|
|
|
|
|
|
```vim
|
|
|
|
let s:DICT = SpaceVim#api#import('data#dict')
|
|
|
|
```
|
|
|
|
|
|
|
|
## functions
|
|
|
|
|
|
|
|
| name | description |
|
|
|
|
| ----------- | ------------------------------ |
|
|
|
|
| `make(str)` | make dict from keys and values |
|