Skip to content

Checks should return booleans #34

@chm-diederichs

Description

@chm-diederichs

Libsodum checks return {-1, 0, 1} and uses bitwise operators to handle conjunction / disjuniction logic.

In JS, we should be returning strictly booleans and checking that boolean operators are used in comparisons and compositions.

See a7e5140 for more info

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions