SyntaxTreeExtensions.ResolvedType.Exists Method

Definition

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

Parameters

condition
Microsoft.FSharp.Core.FSharpFunc<QsTypeKind<ResolvedType,UserDefinedType,QsTypeParameter,CallableInformation>,Boolean>

Returns

Boolean
Attributes
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute

Applies to