SyntaxTreeExtensions.ResolvedType.Exists 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.
[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
- this
- ResolvedType
- condition
- Microsoft.FSharp.Core.FSharpFunc<QsTypeKind<ResolvedType,UserDefinedType,QsTypeParameter,CallableInformation>,Boolean>
Returns
- Attributes
-
Microsoft.FSharp.Core.CompilationArgumentCountsAttribute