浏览代码

make Std.is a bit more deprecated [skip ci]

Aleksandr Kuzmenko 5 年之前
父节点
当前提交
45cd35acb6
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      std/Std.hx

+ 2 - 2
std/Std.hx

@@ -28,11 +28,11 @@
 **/
 extern class Std {
 	/**
+		DEPRECATED. Use `Std.isOfType(v, t)` instead.
+
 		Tells if a value `v` is of the type `t`. Returns `false` if `v` or `t` are null.
 
 		If `t` is a class or interface with `@:generic` meta, the result is `false`.
-
-		DEPRECATED. Use `Std.isOfType(v, t)` instead.
 	**/
 	public static function is(v:Dynamic, t:Dynamic):Bool;