MCPcopy Create free account
hub / github.com/bqplot/bqplot / functor

Function functor

js/src/Markers.ts:255–257  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

253}
254
255function functor(x) {
256 return typeof x === 'function' ? x : constant(x);
257}
258
259const bqSymbol = function () {
260 let type = symbolType;

Callers 1

bqSymbolFunction · 0.85

Calls 1

constantFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…