is_static


Description:

public bool is_static ()

Checks if the expression is static.

A static expression will never change its result when evaluate is called on it with the same arguments.

That means a call to watch is not necessary because it will never trigger a notify.

Parameters:

this

a Expression

Returns:

true if the expression is static