hasAssetFieldsfunction
import { hasAssetFields } from '@mortar-kit/core'
function hasAssetFields(schema: Fields): booleanWhether schema has an image or file field anywhere (following objects and lists).
Parameters
schema: Fields
Returns
boolean