MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / findPlugin

Method findPlugin

packages/alphatab/test/PrettyFormat.ts:79–86  ·  view source on GitHub ↗
(plugins: PrettyFormatNewPlugin[], val: unknown)

Source from the content-addressed store, hash-verified

77 */
78export class PrettyFormat {
79 static findPlugin(plugins: PrettyFormatNewPlugin[], val: unknown) {
80 for (const plugin of plugins) {
81 if (plugin.test(val)) {
82 return plugin;
83 }
84 }
85 return null;
86 }
87
88 static printer(
89 val: unknown,

Callers 1

printerMethod · 0.80

Calls 1

testMethod · 0.65

Tested by

no test coverage detected