grass

fun Any.grass(string: String): InputStream?

Function to get an InputStream for a given resource string.

Return

InputStream for the resource, or null if the resource is not found

Parameters

string

the resource path as a string