MCPcopy
hub / github.com/bubkoo/html-to-image / toArray

Function toArray

src/util.ts:58–66  ·  view source on GitHub ↗
(arrayLike: any)

Source from the content-addressed store, hash-verified

56}
57
58export function toArray<T>(arrayLike: any): T[] {
59 const arr: T[] = []
60
61 for (let i = 0, l = arrayLike.length; i < l; i++) {
62 arr.push(arrayLike[i])
63 }
64
65 return arr
66}
67
68let styleProps: string[] | null = null
69export function getStyleProperties(options: Options = {}): string[] {

Callers 5

cloneChildrenFunction · 0.90
getCSSRulesFunction · 0.90
parseWebFontRulesFunction · 0.90
embedChildrenFunction · 0.90
getStylePropertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…