Skip to content

Question about .is_array_of_tables() #286

@levicki

Description

@levicki

Not a bug report, a (hopefully) simple question.

If I have:

[[MyConfig]]
TimeStamp = 1972-11-21T11:30:00+01:00

[[MyConfig]]
TimeStamp = 1979-05-27T00:32:00-07:00

Am I wrong if I expect Value.is_array_of_tables() should return true?

Currently it returns Value.is_array() as true.

Is that perhaps reserved only for things like:

[Section]
Value = [ { First = 1, Second = 2 }, { Whatever = 3, Life = 42 } ]

If not, can you please give an example TOML for which Value.is_array_of_tables() returns true?

Please advise.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions