Fixed possible typo.

This commit is contained in:
spawayz 2022-12-13 23:28:54 -03:00 committed by The Phantom Derpstorm
parent 973e1c3cd6
commit 19898d8d3e

View File

@ -19,7 +19,7 @@ You can interact with the Lua Virtual Machine like so:
:linenos: :linenos:
:lines: 1-10, 12-12, 20-24, 70- :lines: 1-10, 12-12, 20-24, 70-
From this example, you can see that there's many ways to pull out the varaibles you want. For example, to determine if a nested variable exists or not, you can use ``auto`` to capture the value of a ``table[key]`` lookup, and then use the ``.valid()`` method: From this example, you can see that there's many ways to pull out the variables you want. For example, to determine if a nested variable exists or not, you can use ``auto`` to capture the value of a ``table[key]`` lookup, and then use the ``.valid()`` method:
.. literalinclude:: ../../../examples/source/tutorials/variables_demo.cpp .. literalinclude:: ../../../examples/source/tutorials/variables_demo.cpp