Skip to content

Commit 3723537

Browse files
gh-62: Fix TYPE documentation.
1 parent da58602 commit 3723537

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/SPECIFICATION.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@
570570
571571
- `INT: ISTNS(SYMBOL: x)` ; returns `1` if the identifier `x` exists and is of type `TNS`, otherwise returns `0`. The argument MUST be an identifier; supplying any other expression is a runtime error.
572572
573-
- `STR: TYPE(ANY: obj)` ; returns the runtime type name of `obj` as a `STR` - one of `INT`, `FLT`, `STR`, or `TNS` (extension-defined type names are returned unchanged when extensions are enabled).
573+
- `STR: TYPE(ANY: obj)` ; returns the runtime type name of `obj` as a `STR` - one of `INT`, `FLT`, `STR`, `TNS`, `MAP`, `FUNC`, or `THR` (or `NULL` for null/uninitialized values). Extension-defined type names are returned unchanged when extensions are enabled.
574574
575575
- `STR: SIGNATURE(SYMBOL: sym)` ; returns a textual signature for the identifier `sym`. If `sym` denotes a user-defined function (`FUNC`) the result is formatted in the canonical form used in this specification, for example `R: name(T1: arg1, T2: arg2 = default)`. For other bound symbols the result is `TYPE: symbol` (for example `INT: x`). The argument MUST be a plain identifier.
576576

0 commit comments

Comments
 (0)