hasThis

Determine if this is available by walking up the enclosing scopes until a function is found.

Parameters

sc
Type: Scope*

where to start looking for the enclosing function

Return Value

Found function if it satisfies isThis(), otherwise null

Meta