CastUtil extension

on

Methods

as<T>() → T?

Available on Object, provided by the CastUtil extension

Casts the receiver object to the given type T or returns null otherwise.