Skip to content

[Replacement]: defined #1019

Closed
Closed

Description

@outslept

Package to replace

defined

Suggested replacement(s)

const defined = (...args) => args.find((v) => v !== undefined);

Manifest type

micro-utility (tiny utility replaceable with native code or removal)

Rationale

inlinable

Availability

No response

Code example (optional)

Activity

  1. added
    accepted
    on Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions