MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / assertNormalize

Function assertNormalize

lib.esm/utils/errors.js:206–210  ·  view source on GitHub ↗
(form)

Source from the content-addressed store, hash-verified

204 * Throws if the normalization %%form%% is not supported.
205 */
206export function assertNormalize(form) {
207 assert(_normalizeForms.indexOf(form) >= 0, "platform missing String.prototype.normalize", "UNSUPPORTED_OPERATION", {
208 operation: "String.prototype.normalize", info: { form }
209 });
210}
211/**
212 * Many classes use file-scoped values to guard the constructor,
213 * making it effectively private. This facilitates that pattern

Callers 4

toUtf8BytesFunction · 0.90
mnemonicToEntropyFunction · 0.90
toUtf8BytesFunction · 0.90
mnemonicToEntropyFunction · 0.90

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected