Skip to content

IsBool should handle v:true and v:false #240

Description

@flwyd

maktaba#ensure#IsBool(v:true) currently throws a WrongType exception because the type of v:true and v:false is boolean rather than number. It seems to me that boolean values should be handled as well.

Additionally, the absence of maktaba#value#IsBool seems like a notable omission.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions