MCPcopy
hub / github.com/shipshapecode/shepherd / isFunction

Function isFunction

shepherd.js/src/utils/type-check.ts:21–23  ·  view source on GitHub ↗
(value: T | Function)

Source from the content-addressed store, hash-verified

19 * @param value The param to check if it is a function
20 */
21export function isFunction<T>(value: T | Function): value is Function {
22 return typeof value === 'function';
23}
24
25/**
26 * Checks if `value` is classified as a `String` object.

Callers 8

cancelMethod · 0.90
showMethod · 0.90
showMethod · 0.90
_scrollToMethod · 0.90
getConfigOptionFunction · 0.90
createShepherdTextFunction · 0.90
createShepherdTitleFunction · 0.90
parseAttachToFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected