getData

fun getData(format: String): String(source)

Returns the specified data. If there is no such data, returns the empty string.

MDN Reference