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

Method format

packages/alphatab/test/PrettyFormat.ts:358–360  ·  view source on GitHub ↗

* Returns a presentation string of your `val` object * @param val any potential JavaScript object * @param options Custom settings

(val: unknown, config?: PrettyFormatConfig)

Source from the content-addressed store, hash-verified

356 * @param options Custom settings
357 */
358 public static format(val: unknown, config?: PrettyFormatConfig): string {
359 return PrettyFormat.printer(val, config ?? new PrettyFormatConfig(), '', 0, []);
360 }
361}
362
363import { BarSerializer } from '@coderline/alphatab/generated/model/BarSerializer';

Callers 3

toInvariantStringFunction · 0.80
toFixedFunction · 0.80
matchMethod · 0.80

Calls 1

printerMethod · 0.80

Tested by

no test coverage detected