MCPcopy Create free account
hub / github.com/angular/components / isSafeUrlWithOptions

Function isSafeUrlWithOptions

src/material/icon/icon-registry.ts:741–743  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

739}
740
741function isSafeUrlWithOptions(value: any): value is SafeResourceUrlWithIconOptions {
742 return !!(value.url && value.options);
743}
744
745/** Infers which font classes to apply by default based on the fonts that have been loaded. */
746function inferDefaultFontSetClass(document: Document): string[] {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected