HaxeFoundation / HaxeFoundation/haxe

Type.getClass documentation

Open
#8,048 0 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

It says "If `o` is null or of a different type, null is returned.", but that isn't exactly true. Targets like Java will always report `Type.getClass(1)` as `java.lang.Integer` because it has to wrap in the argument-to-type-parameter case. It isn't even true on JavaScript.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.