Check if FCP value is within good threshold
FCP value in seconds
true if FCP is good (<=1.8s)
const fcpSeconds = 1.5;if (isFCPGood(fcpSeconds)) { console.log('FCP is within acceptable range');} Copy
const fcpSeconds = 1.5;if (isFCPGood(fcpSeconds)) { console.log('FCP is within acceptable range');}
Check if FCP value is within good threshold