ST_IsPlanar — Check if a surface is or not planar
boolean ST_IsPlanar(geometry geom);
                 
               | 
              |
| 
                 ST_IsPlanar is deprecated as of 3.5.0. Use CG_IsPlanar instead.  | 
            
Availability: 2.2.0: This was documented in 2.1.0 but got accidentally left out in 2.1 release.
            
            This method needs SFCGAL backend.
        
            
            This function supports 3d and will not drop the z-index.
        
            
            This function supports Polyhedral surfaces.
        
            
            This function supports Triangles and Triangulated Irregular Network Surfaces (TIN).