MCPcopy Index your code
hub / github.com/TanStack/table / isFunction

Function isFunction

packages/table-core/src/utils.ts:107–109  ·  view source on GitHub ↗
(d: any)

Source from the content-addressed store, hash-verified

105type AnyFunction = (...args: any) => any
106
107export function isFunction<T extends AnyFunction>(d: any): d is T {
108 return d instanceof Function
109}
110
111export function isNumberArray(d: any): d is number[] {
112 return Array.isArray(d) && d.every((val) => typeof val === 'number')

Callers 4

ColumnGrouping.tsFile · 0.90
GlobalFiltering.tsFile · 0.90
ColumnFiltering.tsFile · 0.90
RowSorting.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected