Skip to content

Commit e431fa5

Browse files
authored
is-scalar.xml Improve description (#4013)
As all functions this is not limited to variables.
1 parent 489d46b commit e431fa5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reference/var/functions/is-scalar.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
1616
</methodsynopsis>
1717
<para>
18-
Finds whether the given variable is a scalar.
18+
Finds whether an <link linkend="language.expressions">expression</link> is
19+
evaluated as a scalar value.
1920
</para>
2021
<para>
2122
See <link linkend="language.types.type-system.atomic.scalar">scalar types</link> for more information.

0 commit comments

Comments
 (0)