Skip to content

Rework type guards in Radashi #17

@aleclarson

Description

@aleclarson

There are libraries like @sindresorhus/is out there that are more widely used, which are therefore more battle-tested/robust and (perhaps most importantly) more comprehensive.

I suggest copying my code from https://github.com/alloc/is/blob/master/src/is.ts (which is written to be tree-shakeable and not rely on NodeJS types anywhere). Then we can update its implementation to align with @sindresorhus/is to achieve the same robustness without the baggage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions