Skip to content

Prefer t.true(x) over t.is(x, true) #338

Open
@jonahsnider

Description

@jonahsnider

Inspired by sindresorhus/ts-extras#8 (comment)

Bad:

t.is(x, true);
t.is(x, false);

Good:

t.true(x);
t.false(x);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions