Skip to content
Eugene Sadovoi edited this page Jul 15, 2016 · 4 revisions

Casts the elements of an Enumerable to the specified type.

Syntax

Cast<T>()

Return Value

Returns reference to itself

Remarks

In TypeScript this method allows IntelliSence to correctly infer type information. At run time it does not create any overhead.

Clone this wiki locally