applyTransforms
applyTransforms(
document:Document,transforms: readonlyTransform[]):Document
Deep-clone document and fold transforms over the clone, in order.
The input is never mutated. With no transforms the clone is skipped and the original is returned (callers must treat the result as read-only).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
readonly |
Returns
Section titled “Returns”Document