Skip to content

fix: isObject returns true for null #45

Description

@ThorstenSuckow

Add check for bottom value to prevent false positive

export const isObject = target => typeof target === "object";

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions