Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions doc/ref/chap-type-method.md
Original file line number Diff line number Diff line change
Expand Up @@ -982,8 +982,14 @@ creating procs that behave like builtins:

---

When the `eval()` method is passed `to_dict=true`, it returns a `Dict`
corresponding to the stack frame that the `Command` is evaluated in.
To evaluate "purely", use the [`eval()`][func/eval] function.

[func/eval]: chap-builtin-func.html#func/eval

### io/evalToDict()

Returns a `Dict` corresponding to the stack frame that the `Command` is
evaluated in.

Example:

Expand All @@ -997,12 +1003,6 @@ Example:
Names that end with an underscore `_` are not copied, so `hidden_` is not in
the `Dict`.

---

To evaluate "purely", use the [`eval()`][func/eval] function.

[func/eval]: chap-builtin-func.html#func/eval

### io/evalExpr()

Given an `Expr` value, evaluate it and return its value:
Expand Down