SyntaxTreeExtensions.TypedExpression.Exists Method

Definition

Overloads

TypedExpression.Exists(TypedExpression, FSharpFunc<QsExpressionKind<TypedExpression,Identifier,ResolvedType>,Boolean>)
TypedExpression.Exists(TypedExpression, FSharpFunc<TypedExpression,Boolean>)

TypedExpression.Exists(TypedExpression, FSharpFunc<QsExpressionKind<TypedExpression,Identifier,ResolvedType>,Boolean>)

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

Parameters

condition
Microsoft.FSharp.Core.FSharpFunc<QsExpressionKind<TypedExpression,Identifier,ResolvedType>,Boolean>

Returns

Boolean
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to

TypedExpression.Exists(TypedExpression, FSharpFunc<TypedExpression,Boolean>)

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

Parameters

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

Returns

Boolean
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to