if else


Snippet Details

Shortcut
ife
Description
Write an if else condition
Language
javascript
Types
Expansion
Author
Jeremie Corpinot
Upload on
10/29/2015 11:36:08 PM
Downloads
457

Declarations

ID ToolTip Default
param1 condition true
body1 code to execute if the condition is true // body1
body2 code to execute if the condition is false // body2

Code Output

        if ($param1$) {
        $body1$
        }
        else {
        $body2$
        }$end$
    

Download Add to .VSIX Package


comments powered by Disqus

Extension Package

No snippets are added


Languages