(o: Solid.SourceMapValue)
| 55 | export const get_id_store = (o: Solid.Store): NodeID => getSdtId(o, ObjectType.Store) |
| 56 | export const get_id_store_node = (o: Solid.StoreNode): NodeID => getSdtId(o, ObjectType.StoreNode) |
| 57 | export const get_id_custom_value = (o: Solid.SourceMapValue): NodeID => getSdtId(o, ObjectType.CustomValue) |
| 58 | |
| 59 | export function getObjectById<T extends ObjectType>(id: NodeID, objType: T): ValueMap[T] | null { |
| 60 | const ref = RefMapMap[objType].get(id) |
nothing calls this directly
no test coverage detected
searching dependent graphs…