MCPcopy Create free account
hub / github.com/tensorflow/tfjs / isFunction

Function isFunction

tfjs-core/src/util_base.ts:552–554  ·  view source on GitHub ↗
(f: Function)

Source from the content-addressed store, hash-verified

550}
551
552export function isFunction(f: Function) {
553 return !!(f && f.constructor && f.call && f.apply);
554}
555
556export function nearestDivisor(size: number, start: number): number {
557 for (let i = start; i < size; ++i) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…