Path components for which no CMS object exists are represented as null
. If, for example, there’s no CMS object for “2025” in “/posts/2025/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 “2025” in “/posts/2025/article1”, this missing ancestor shows up as null
in the resulting array.
Returns
Array<Obj | null>