#(Darwin) combine maps

24 messages · Page 1 of 1 (latest)

stiff lark
#

Do we have instrument to stitch two maps together?

map:
  lol:
    kek: 4
map:
  lol:
    lel: 20

to

map:
  lol:
    kek: 4
    lel: 20
astral adderBOT
#

(Darwin) combine maps

astral adderBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

knotty hatch
#

!vague

wraith bronzeBOT
# knotty hatch !vague
Info: vague

Your question is too vague to be able to answer well.

If you're asking how to do something, please make sure to add some background detail. Make sure to specify your overall end goal and the general design/idea and any existing progress towards that goal, not just the single specific point.

For script-related problems, see also !info haste debug. For non-scripting server trouble, see !logs.

See also !xyproblem

knotty hatch
#

Explain what you mean by stitch

icy garden
#

!t map.include

wraith bronzeBOT
# icy garden !t map.include

Returns a copy of the map with the specified map's contents copied in.
Matching keys will be overridden.

Returns

MapTag

Examples
# Narrates a map of '[a=1;b=2;c=3;d=4;e=5]'
- narrate <map[a=1;b=2;c=3].include[d=4;e=5]>
# Demonstrates matching keys overriding - Narrates a map of '[a=1;b=4;c=5]'
- narrate <map[a=1;b=2;c=3].include[b=4;c=5]>
stiff lark
#

include will override

stiff lark
astral adderBOT
icy garden
#

!t map.include

wraith bronzeBOT
# icy garden !t map.include

Returns a copy of the map with the specified map's contents copied in.
Matching keys will be overridden.

Returns

MapTag

Examples
# Narrates a map of '[a=1;b=2;c=3;d=4;e=5]'
- narrate <map[a=1;b=2;c=3].include[d=4;e=5]>
# Demonstrates matching keys overriding - Narrates a map of '[a=1;b=4;c=5]'
- narrate <map[a=1;b=2;c=3].include[b=4;c=5]>
ashen heathBOT
knotty hatch
#

!vague

wraith bronzeBOT
# knotty hatch !vague
Info: vague

Your question is too vague to be able to answer well.

If you're asking how to do something, please make sure to add some background detail. Make sure to specify your overall end goal and the general design/idea and any existing progress towards that goal, not just the single specific point.

For script-related problems, see also !info haste debug. For non-scripting server trouble, see !logs.

See also !xyproblem

stiff lark
#

If it's vague for you can you just do not?

icy garden
#

Well explain what you want to do