Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Rune.de #680

Open
Tracked by #721
harrysolovay opened this issue Feb 28, 2023 · 1 comment
Open
Tracked by #721

Rune.de #680

harrysolovay opened this issue Feb 28, 2023 · 1 comment
Labels
feature needs input We need input from the team and/or others rune

Comments

@harrysolovay
Copy link
Contributor

A utility to simplify destructuring runes from runes.

const abc = Rune.tuple([a, b, c])
const [a, b, c] = Rune.de(abc)

const xyz = Rune.rec({ a, b, c })
const { x, y, z } = Rune.de(xyz)
@robocapi robocapi added this to Capi Feb 28, 2023
@tjjfvi
Copy link
Contributor

tjjfvi commented Mar 1, 2023

It should probably be called something else (perhaps Rune.destructure or Rune.access, but this does seem like a nice utility.

@nythrox nythrox self-assigned this Apr 10, 2023
@tjjfvi tjjfvi added request rune needs input We need input from the team and/or others feature and removed request labels Jul 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature needs input We need input from the team and/or others rune
Projects
Status: No status
Development

No branches or pull requests

3 participants