during function
Requirements.LogicalFunctions.during
ยท source
Return Satisfied when check is true as long as condition is true
Extends Requirements.Interfaces.PropertyFunction
Syntax
during(condition, check);
Description
If condition is true, the function returns "Property(check)" (so either Satisfied or Violated). Otherwise, it returns Undefined: the property is not applicable while its condition is false (before version 0.8.0 the function returned Undecided here). Violated, Undecided, Satisfied and Undefined are the elements of enumeration Property
Example
The property is demonstrated with the following example calling the function as:
property = during(condition,check)
results in
![]() | |
| simulation result |
Inputs
| Name | Type | Description |
|---|---|---|
condition input | Boolean | Verify check as long as condition = true |
check input | Boolean | As long as condition is true, check should be true |
Outputs
| Name | Type | Description |
|---|---|---|
result output | Requirements.Types.Property | Satisfied/Violated (check) if condition is true, otherwise Undefined |
