JsIf

class JsIf(val condition: JsValue, val then: JsTree, val elseStatement: JsTree? = null) : JsStatement(source)

Constructors

Link copied to clipboard
constructor(condition: JsValue, then: JsTree, elseStatement: JsTree? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val elseStatement: JsTree? = null
Link copied to clipboard
open override val needsSemicolon: Boolean
Link copied to clipboard

Functions

Link copied to clipboard
open override fun generate(indentAmount: Int, indent: String): String
Link copied to clipboard
Link copied to clipboard
open fun toValue(): JsValue