during3 function

Requirements.LogicalFunctions.during3  ยท source

Icon of during3

Return Satisfied when check is Satisfied as long as condition is true (check: 4-valued logic)

Extends Requirements.Interfaces.PropertyFunction

Syntax

during3(condition, check);

Description

If condition is true, the function returns check (which must be of type Property). Otherwise, it returns Undefined: the property is not applicable while its condition is false (before version 0.8.0 the function returned Undecided here).

Example

The property is demonstrated with the following example calling the function as:

property = during3(condition,check)

results in

simulation result

Inputs

NameTypeDescription
condition inputBooleanVerify check as long as condition = true
check inputRequirements.Types.PropertyAs long as condition is true, check should be Satisfied

Outputs

NameTypeDescription
result outputRequirements.Types.Propertycheck, if condition is true, otherwise Undefined