Skip to content

feat: similar to objectify, to return Map - #492

Open
hazrid93 wants to merge 1 commit into
sodiray:masterfrom
hazrid93:hazrid93/49_401
Open

feat: similar to objectify, to return Map#492
hazrid93 wants to merge 1 commit into
sodiray:masterfrom
hazrid93:hazrid93/49_401

Conversation

@hazrid93

Copy link
Copy Markdown

Closes #401.

Add mapify(array, getKey, getValue?) that builds a Map (supporting any key type, preserving insertion order, last write wins on duplicates), mirroring objectify's API. getValue defaults to the item itself. Existing objectify is unchanged.

@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

@hazrid93 is attempting to deploy a commit to the rayunishinedev's projects Team on Vercel.

A member of the Team first needs to authorize it.

Closes sodiray#401.

Add mapify(array, getKey, getValue?) that builds a Map (supporting any key type, preserving insertion order, last write wins on duplicates), mirroring objectify's API. getValue defaults to the item itself. Existing objectify is unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Similar to objectify, to return Map

1 participant