SyntaxTreeExtensions.QsStatement.Exists Method

Definition

[Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1 })]
public static bool QsStatement.Exists (Microsoft.Quantum.QsCompiler.SyntaxTree.QsStatement this, Microsoft.FSharp.Core.FSharpFunc<Microsoft.Quantum.QsCompiler.SyntaxTree.QsStatement,bool> condition);
[<Microsoft.FSharp.Core.CompilationArgumentCounts(new System.Int32[] { 1, 1 })>]
Microsoft.Quantum.QsCompiler.SyntaxTreeExtensions.QsStatement.Exists : (Microsoft.Quantum.QsCompiler.SyntaxTree.QsStatement -> bool) -> bool
Public Function QsStatement.Exists (this As QsStatement, condition As FSharpFunc(Of QsStatement, Boolean)) As Boolean

Parameters

condition
Microsoft.FSharp.Core.FSharpFunc<QsStatement,Boolean>

Returns

Boolean
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to