TryAsExtension extension

Provides a tryAs extension method on all objects.

on

Methods

tryAs<T>() → T?

Available on Object?, provided by the TryAsExtension extension

An extension version of misc.tryAs.