MCPcopy Create free account
hub / github.com/Hello-Application-XH/HelloGML / isFunction

Function isFunction

src/utils.ts:161–163  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

159}
160
161export function isFunction(value: any): boolean {
162 return typeof value === "function";
163}
164
165export function defaultTo<T>(value: T | undefined | null, defaultValue: T): T {
166 return value == null ? defaultValue : value;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected