Restricts the range of a value to between two numbers.

clamp( value, min, max)

Returns

  • min when value < min
  • max when value > max
  • value otherwise

Value may be a 1-4 component value. min and max must both be a single value.

Location

Namespace
Fuse.Reactive
Package
Fuse.Reactive.Expressions 1.9.0

Interface of Clamp

Inherited from TernaryOperator

IsFirstOptional : bool uno

DEPRECATED: 2017-12-14 Use flags in constructor instead. These virtuals are only used if DeprecatedVirtualFlags specified, and only at initialization of subscription.

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