Răsfoiți Sursa

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

Aleksandr Kuzmenko 5 ani în urmă
părinte
comite
45cd35acb6
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      std/Std.hx

+ 2 - 2
std/Std.hx

@@ -28,11 +28,11 @@
 **/
 **/
 extern class Std {
 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.
 		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`.
 		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;
 	public static function is(v:Dynamic, t:Dynamic):Bool;