getField

abstract fun getField(name: String): ShakeAssignable?(source)

Retrieves a field (variable) by its name within this scope.

Return

The field if found, or null if not found.

Parameters

name

The name of the field to retrieve.