Skip to content

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

@flwyd

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.

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