Vim: How do I check if a function is defined?
Appearance
Problem
I've written a script used the builtin function repeat(). But the repeat() function is introduced in Vim 7.0 and not available in Vim 6.0. How do I check within my script if the repeat() function is available?
Solution
Journal
20061126
:help function-list
Advertisement
<google uid="C01"></google>
Comments
{{#widget:DISQUS |id=fvue |uniqid=Vim: How do I check if a function is defined? |url=https://fvue.nl/wiki/Vim:_How_do_I_check_if_a_function_is_defined%3F }}