toggleProperty

A Kotlin delegate to create a ToggleProperty (the implementation will be a SimpleToggleProperty. Typical usage :

val fooProperty by toggleProperty( initialValue )
var foo by fooProperty