getIcons

external fun getIcons(data: IconifyJSON, names: Array<String>, notFound: Boolean = definedExternally): IconifyJSON?

Extract a subset of icons from an icon set.

Aliases are copied as aliases, but only when their parent icon is also included, so the result is self-contained.

Return

the subset, or null if no icon was found and notFound is not true.

Parameters

notFound

list missing names in not_found and return a result even when no icon was found.