Skip to content

[Enhancement] typeof #34

@yezhiyi9670

Description

@yezhiyi9670

ZenScript doesn't require a typename for declaring a variable, but is still very strict with types. However, the documentation sometimes does not describe the types accurately.

I suggest adding a global keyword or global function typeof which return the type of a value as string. This can make debugging much easier.

(Please let me know if there is already one)

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