convertIconSetInfo

external fun convertIconSetInfo(data: dynamic, expectedPrefix: String = definedExternally): IconifyInfo?

Convert icon set information from the legacy format used by the Iconify API and collections.json to IconifyInfo.

Return

the converted information, or null if data is invalid.

Parameters

expectedPrefix

when set, reject data whose prefix does not match.