Layer.children

Function/Meaning
Child layer array
Type
Layer Class Properties
Explanation

Represents an array object that contains child layers.
Even if you write a value to the array obtained here, or delete or add an item, it will not be reflected in the actual layer state.
Think of it as read-only.