TypeFunction.parameterEscapes

Examine function signature for parameter p and see if the value of p can 'escape' the scope of the function. This is useful to minimize the needed annotations for the parameters.

class TypeFunction
bool
parameterEscapes

Parameters

tthis
Type: Type

type of this parameter, null if none

p
Type: Parameter

parameter to this function

Return Value

Type: bool

true if escapes via assignment to global or through a parameter

Meta