DOCSDEVELOPER-GUIDEVARIABLESTESTMAPmapContribute Edit this page Join us on Slack GitHub Twitter LinkedInThe map test checks if a variable is an instance of a map.twig{% if {"apple":"red", "banana":"yellow"} is map %} ... {% endif %}TestjsonTestNull