artifactAs

inline fun <T> artifactAs(): T?

Get the artifact cast to a specific type, or null if not present or wrong type