MCPcopy Index your code
hub / github.com/ycm-core/YouCompleteMe / VimHasFunction

Function VimHasFunction

python/ycm/vimsupport.py:1450–1451  ·  view source on GitHub ↗
( func )

Source from the content-addressed store, hash-verified

1448
1449@memoize()
1450def VimHasFunction( func ):
1451 return bool( GetIntValue( f"exists( '*{ EscapeForVim( func ) }' )" ) )
1452
1453
1454def VimHasFunctions( *functions ):

Callers 1

VimHasFunctionsFunction · 0.85

Calls 2

GetIntValueFunction · 0.85
EscapeForVimFunction · 0.85

Tested by

no test coverage detected