Method: getPropertyAsLong
Retrieve a property from a target.
Parameters
Name | Type | Description |
---|---|---|
target | Target | Target to retrieve property from |
key | string | Property key to retrieve |
defaultVal | long | Default value |
Returns
Returns property key and value.
Example