MCPcopy
hub / github.com/chartjs/Chart.js / isFunction

Function isFunction

src/helpers/helpers.core.ts:393–393  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

391export const defined = (value: unknown) => typeof value !== 'undefined';
392
393export const isFunction = (value: unknown): value is (...args: any[]) => any => typeof value === 'function';
394
395// Adapted from https://stackoverflow.com/questions/31128855/comparing-ecma6-sets-for-equality#31129384
396export const setsEqual = <T>(a: Set<T>, b: Set<T>) => {

Callers 7

_updateDatasetsMethod · 0.85
resolveNamedOptionsMethod · 0.85
hasFunctionFunction · 0.85
needContextFunction · 0.85
_descriptorsFunction · 0.85
_resolveWithContextFunction · 0.85
resolveFallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected