Namespace.TryFindCallable Method

Definition

public Microsoft.Quantum.QsCompiler.ResolutionResult<Tuple<Microsoft.Quantum.QsCompiler.SyntaxTree.Source,Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<string>>> TryFindCallable (string cName, Microsoft.FSharp.Core.FSharpOption<Microsoft.FSharp.Core.FSharpFunc<string,bool>> checkDeprecation);
member this.TryFindCallable : string * option<string -> bool> -> Microsoft.Quantum.QsCompiler.ResolutionResult<Microsoft.Quantum.QsCompiler.SyntaxTree.Source * Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<string>>
Public Function TryFindCallable (cName As String, checkDeprecation As FSharpOption(Of FSharpFunc(Of String, Boolean))) As ResolutionResult(Of Tuple(Of Source, QsNullable(Of String)))

Parameters

cName
String
checkDeprecation
Microsoft.FSharp.Core.FSharpOption<Microsoft.FSharp.Core.FSharpFunc<String,Boolean>>

Returns

ResolutionResult<Tuple<Source,QsNullable<String>>>

Applies to