컨텐츠로 건너뛰기

runtime/decoder/decode-codepoint

이 콘텐츠는 아직 해당 언어로 제공되지 않습니다.

const fromCodePoint: (...codePoints: number[]) => string;

Defined in: studiocms/packages/studiocms/src/runtime/decoder/decode-codepoint.ts:38

Polyfill for String.fromCodePoint. It is used to create a string from a Unicode code point.

number[]

string

function decodeCodePoint(codePoint: number): string

Defined in: studiocms/packages/studiocms/src/runtime/decoder/decode-codepoint.ts:74

Replace the code point if relevant, then convert it to a string.

number

The code point to decode.

string

The decoded code point.


function replaceCodePoint(codePoint: number): number

Defined in: studiocms/packages/studiocms/src/runtime/decoder/decode-codepoint.ts:59

Replace the given code point with a replacement character if it is a surrogate or is outside the valid range. Otherwise return the code point unchanged.

number

number