Skip to content

Commit fc3b77f

Browse files
committed
Document backend specific behavior of null_s
Resolves issue #142
1 parent 7384f3e commit fc3b77f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/ops.markdown

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,6 +1137,14 @@ Returns a 1 if the object has a truthy value, 0 otherwise.
11371137

11381138
Returns a 1 if the object is of the given type, 0 otherwise.
11391139

1140+
## null
1141+
* `null_s()`
1142+
1143+
`null_s` returns a null string value that can be stored in a native str.
1144+
1145+
The value returned by `null_s` is VM dependant. Notably, it may stringify
1146+
differently depending on the backend.
1147+
11401148
## jvmisnull `jvm`
11411149
* `jvmisnull(Mu $obj)`
11421150

0 commit comments

Comments
 (0)