mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-12 06:21:29 +00:00
Make type checking builtins also accept just a type argument
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
export declare function isInteger(value: void): bool;
|
||||
export declare function isInteger<T>(value?: T): bool;
|
||||
|
||||
export declare function isFloat(value: void): bool;
|
||||
export declare function isFloat<T>(value?: T): bool;
|
||||
|
||||
export declare function isReference(value: void): bool;
|
||||
export declare function isReference<T>(value?: T): bool;
|
||||
|
||||
export declare function isString(value: void): bool;
|
||||
export declare function isString<T>(value?: T): bool;
|
||||
|
||||
export declare function isArray(value: void): bool;
|
||||
export declare function isArray<T>(value?: T): bool;
|
||||
|
||||
export declare const NaN: f64; // | f32
|
||||
|
||||
|
Reference in New Issue
Block a user