Skip to main content

Function: graphicTypeEquals()

graphicTypeEquals(graphicType): (contentItem) => boolean

Checks if a given content item's GraphicType property matches a specified value.

Parameters

graphicType: any

The value to compare the content item's GraphicType property to.

Returns

Function

A function that takes a content item and returns a boolean indicating whether its GraphicType property matches the specified value.

Parameters

contentItem: any

Returns

boolean

Defined in

helpers/graphicTypeEquals.ts:6