MCPcopy Create free account
hub / github.com/SpookyJS/SpookyJS / isFunctionTuple

Function isFunctionTuple

lib/spooky.js:56–61  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

54}
55
56function isFunctionTuple(a) {
57 return _.isArray(a) &&
58 a.length === 2 &&
59 _.isObject(a[0]) &&
60 _.isFunction(a[1]);
61}
62
63function serializeFunctions(x) {
64 if (_.isFunction(x)) {

Callers 1

serializeFunctionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected