MCPcopy
hub / github.com/klinecharts/KLineChart / isArray

Function isArray

src/common/utils/typeChecks.ts:67–69  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

65}
66
67export function isArray<T = unknown> (value: unknown): value is T[] {
68 return Object.prototype.toString.call(value) === '[object Array]'
69}
70
71// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters -- ignore
72export function isFunction<T = (...args: unknown[]) => unknown> (value: unknown): value is T {

Callers 10

createOverlayMethod · 0.90
convertToPixelMethod · 0.90
convertFromPixelMethod · 0.90
EventClass · 0.90
constructorMethod · 0.90
setStylesMethod · 0.90
_addDataMethod · 0.90
overrideMethod · 0.90
drawImpMethod · 0.90
cloneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected