fix toml issue / isobject

This commit is contained in:
2026-02-17 01:19:43 -06:00
parent 400c58e5f2
commit 3c28dc2c30
5 changed files with 8 additions and 22 deletions

View File

@@ -248,7 +248,7 @@ is_integer(42) // true
is_logical(true) // true
is_null(null) // true
is_number(3.14) // true
is_object({}) // true
is_object({}) // true (records only)
is_text("hello") // true
```

View File

@@ -512,12 +512,13 @@ var a = nil?(null) ? "yes" : "no" // "yes"
is_number(42) // true
is_text("hi") // true
is_logical(true) // true
is_object({}) // true
is_object({}) // true (records only)
is_array([]) // true
is_function(function(){}) // true
is_null(null) // true
is_object([]) // false (array is not object)
is_array({}) // false (object is not array)
is_object([]) // false (arrays are not records)
is_object("hello") // false (text is not a record)
is_array({}) // false (records are not arrays)
```
### Truthiness