SelectByFoldingOverExpressions.TransformationState.Fold Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
System.Object.Fold(Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression,System.Boolean)
public bool Fold (Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression ex, bool current);
abstract member Fold : Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression * bool -> bool
override this.Fold : Microsoft.Quantum.QsCompiler.SyntaxTree.TypedExpression * bool -> bool
Public Function Fold (ex As TypedExpression, current As Boolean) As Boolean
Parameters
- current
- Boolean