extension Let on T? { R? let(R Function(T it) action) { if (this != null) { return action(this as T); } return null; } }