Skip to content

syngan/vital-regdict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vital-regdict

Build Status

install

NeoBundle 'syngan/vital-regdict'

usage

let s:RD = vital#of('vital').import('Data.RegDict')

let d = {'a': 1, 'afo': 2, 'ago': 3, 'baa': 4, 'Boo': 5}
echo s:RD.keys(d, 'a')
" ['a', 'afo', 'aho', 'baa']   (Note: List is in arbitrary order)
echo s:RD.keys(d, '^a')
" ['a', 'afo', 'aho']
echo s:RD.values(d, '^a')
" [1, 2, 3]   (Note: List is in arbitrary order)
echo s:RD.remove(d, 'o')
" 3   (number of removed elements)
echo keys(d)
" ['a', 'baa']

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published