Alternate between true/false values for ranges of integers.

alternate( value, groupSize )

Input values are rounded to the nearest integer.

Example:

alternate( value, 3 )

This will yield true for values 0,1,2, false for 3,4,5, true for 6,7,8, false for 9,10,11, etc.

Location

Namespace
Fuse.Reactive
Package
Fuse.Reactive.Expressions 2.9.1
Show Uno properties and methods

Interface of Alternate

Inherited from BinaryOperator

Inherited from ComputeExpression

Inherited from Expression

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.

Implemented Interfaces