Path components for which no CMS object exists are represented as null
. If, for example, there’s no CMS object for “2023” in “/posts/2023/article1”, this missing ancestor shows up as null
in the resulting array.
Returns the given object’s ancestor Obj
s, from the root
object down to the object’s parent Obj
.
Path components for which no CMS object exists are represented as null
. If, for example, there’s no CMS object for “2023” in “/posts/2023/article1”, this missing ancestor shows up as null
in the resulting array.
Returns
Array<Obj | null>