internalOrNull

fun internalOrNull(resource: String, name: String, type: ArtifactType, referenceClass: KClass<*> = LazyOutputArtifact::class): LazyOutputArtifact?

Like internal, but reads the resource instantly and returns null if it does not exist.

See also