Thanks to visit codestin.com
Credit goes to github.com

Skip to content

VimLang suggestion #33

@iasj

Description

@iasj

Hi there. Great plugin.

Suggestion when using the function type(). Use the v:t_<type> built-in variables. Like this:

if type("hello") == v:t_string
  echo "it's a string"
endif

Take a look at :help type().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions