Flexible editing environment
Connect to anything
Fearlessly work with content
Treat content as data with GROQ
Coherent messaging across territories
Richer shopping experiences
Control your story
Innovate and automate
Content backend for every OS
Source of truth for global markets
Unique digital shopping experience
Omnichannel media distribution
Delivering exceptional customer experiences
if(!data?._type === 'page')
This condition will always return 'false' since the types 'boolean' and 'string' have no overlap.
!foo === 'bar'
if (data?._type !== 'page')
bool === string
The Sanity Composable Content Cloud is the headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.