Skip to content

boolean

boolean property type

The boolean type is used to declare variables to store the Boolean values, true and false.

Kitsune expression will return True/False based on the place its used.

You can use boolean in the k-show and k-hide tags.

Example

coffeeshop(base class) language properties

TypeName
strname
booleanwifiAvailable
1
2
3
4
5
<!-- just use in the expression -->
<div k-show="[[cofeeshop.wifiAvailable]]">Free Wifi available!</div>

<!-- Display the value -->
<div>[[coffeeshop.isopen]]</div>