Skip to main content
This annotation is intended for complex cases and is primarily designed to be used by the built-in annotations.

Overview

GLuaLS normally treats repeated calls of a method with no arguments, like ent:GetOwner(), as the same value. A check on one call applies to the next:
Some methods return a different value every time, such as CNavArea:GetRandomPoint(). fresh_result marks those, so a check on one call does not carry over to the next.

Syntax

Put it after the @return line.

Example

Store the result in a local when you need the same value again.