Field in the input object for which you want to return a value. field can be any valid expression that resolves to a string constant.
A valid expression that contains the field for which you want to return a value. input must resolve to an object, missing, null, or undefined. If omitted, defaults to the document currently being processed in the pipeline ($$CURRENT).
Generated using TypeDoc
Returns the value of a specified field from a document. If you don't specify an object, $getField returns the value of the field from $$CURRENT.
4.4.2
https://docs.mongodb.com/manual/reference/operator/aggregation/getField/#mongodb-expression-exp.-getField