fork

abstract fun fork(subdocument: Subdocument = this.subdocument): ScopeContext

Return

a new scope context, forked from this context, with the same base inherited properties

Parameters

subdocument

optional subdocument to fork the context for