Declaring a find object

Are we able to declare a gameobject as a find object?

For example

"var example: gameObject.Find(“example”);

As soon as i post it, i see my error;

var example: GameObject;

function Update()
{
example = gameObject.Find(“example”);
}