Const is
1.0.2 provide
is: { array: any; bool: any; boolean: any; error: any; false: any; fun: any; function: any; number: any; object: any; true: any } = ...
Type declaration
-
array: function
- array(value: any): value is []
-
Parameters
Returns value is []
-
bool: function
- bool(value: any): value is boolean
-
Parameters
Returns value is boolean
-
boolean: function
- boolean(value: any): value is boolean
-
Parameters
Returns value is boolean
-
error: function
- error(value: any): value is Error
-
Parameters
Returns value is Error
-
false: function
- false(value: any): value is boolean
-
Parameters
Returns value is boolean
-
fun: function
- fun(value: any): value is Function
-
Parameters
Returns value is Function
-
function: function
- function(value: any): value is Function
-
Parameters
Returns value is Function
-
number: function
- number(value: any): value is Number
-
Parameters
Returns value is Number
-
object: function
- object(value: any): value is object
-
Parameters
Returns value is object
-
true: function
- true(value: any): value is boolean
-
Parameters
Returns value is boolean
判断是不是数组类型