Snd function

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.

Namespace: Microsoft.Quantum.Canon

Package: Microsoft.Quantum.Standard

Given a pair, returns its second element.

function Snd<'T, 'U> (pair : ('T, 'U)) : 'U

Input

pair : ('T,'U)

A tuple with two elements.

Output : 'U

The second element of pair.

Type Parameters

'T

The type of the pair's first member.

'U

The type of the pair's second member.