function peek(draft, prop) {
    const state = draft[DRAFT_STATE]
    const desc = Reflect.getOwnPropertyDescriptor(
        state ? source(state) : draft,
        prop
    )
    return desc && desc.value
}
function peek(draft, prop) {
    const state = draft[DRAFT_STATE]
    const desc = Reflect.getOwnPropertyDescriptor(
        state ? source(state) : draft,
        prop
    )
    return desc && desc.value
}
function peek ( draft , prop ) { const state = draft [ DRAFT_STATE ] const desc = Reflect . getOwnPropertyDescriptor ( state ? source ( state ) : draft , prop ) return desc && desc . value }
Access a property without creating an Immer draft.
Access a property without creating an Immer draft .
Get the value of a property in a node draft