MCPcopy
hub / github.com/handsontable/handsontable / hasPlugin

Function hasPlugin

handsontable/src/plugins/registry.ts:83–86  ·  view source on GitHub ↗
(pluginName: string)

Source from the content-addressed store, hash-verified

81 * @returns {boolean}
82 */
83export function hasPlugin(pluginName: string) {
84 /* eslint-disable no-unneeded-ternary */
85 return getPlugin(pluginName) ? true : false;
86}
87
88/**
89 * Registers plugin under the given name only once.

Callers

nothing calls this directly

Calls 1

getPluginFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…