MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / getOriginalExtraKey

Function getOriginalExtraKey

packages/core/src/document/prop/props.ts:26–28  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

24 * extra key convert to prop key
25 */
26export const getOriginalExtraKey = (key: string): string => {
27 return key.replace(new RegExp(`${EXTRA_KEY_PREFIX}`, 'g'), '')
28}
29
30export const isExtraKey = (key: string): boolean => {
31 return key.startsWith(EXTRA_KEY_PREFIX)

Callers 1

exportMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected