decideChrome
decideChrome(
contentSource,viewerPrefersStandard):ChromeDecision
Defined in: trust.ts:43
Should this copy carry the adaptation mark?
cached counts as adapted: the copy WAS generated, for an earlier viewer in
the same variant × context bucket. It is not fresh, but it is not authored
either, and calling it authored would be the same lie in the other
direction.
Parameters
Section titled “Parameters”contentSource
Section titled “contentSource”"generated" | "cached" | "static"
viewerPrefersStandard
Section titled “viewerPrefersStandard”boolean