fix toml issue / isobject
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user