@@ -40,84 +40,86 @@ import { isUnknown } from "./unknown.ts";
40
40
41
41
/**
42
42
* Type predicate function collection.
43
+ *
44
+ * @namespace
45
+ * @borrows isAny as Any
46
+ * @borrows isArray as Array
47
+ * @borrows isArrayOf as ArrayOf
48
+ * @borrows isAsyncFunction as AsyncFunction
49
+ * @borrows isBigint as Bigint
50
+ * @borrows isBoolean as Boolean
51
+ * @borrows isFunction as Function
52
+ * @borrows isInstanceOf as InstanceOf
53
+ * @borrows isIntersectionOf as IntersectionOf
54
+ * @borrows isLiteralOf as LiteralOf
55
+ * @borrows isLiteralOneOf as LiteralOneOf
56
+ * @borrows isMap as Map
57
+ * @borrows isMapOf as MapOf
58
+ * @borrows isNull as Null
59
+ * @borrows isNullish as Nullish
60
+ * @borrows isNumber as Number
61
+ * @borrows isObjectOf as ObjectOf
62
+ * @borrows isOmitOf as OmitOf
63
+ * @borrows isParametersOf as ParametersOf
64
+ * @borrows isPartialOf as PartialOf
65
+ * @borrows isPickOf as PickOf
66
+ * @borrows isPrimitive as Primitive
67
+ * @borrows isReadonlyOf as ReadonlyOf
68
+ * @borrows isRecord as Record
69
+ * @borrows isRecordObject as RecordObject
70
+ * @borrows isRecordObjectOf as RecordObjectOf
71
+ * @borrows isRecordOf as RecordOf
72
+ * @borrows isRequiredOf as RequiredOf
73
+ * @borrows isSet as Set
74
+ * @borrows isSetOf as SetOf
75
+ * @borrows isStrictOf as StrictOf
76
+ * @borrows isString as String
77
+ * @borrows isSymbol as Symbol
78
+ * @borrows isSyncFunction as SyncFunction
79
+ * @borrows isTupleOf as TupleOf
80
+ * @borrows isUndefined as Undefined
81
+ * @borrows isUniformTupleOf as UniformTupleOf
82
+ * @borrows isUnionOf as UnionOf
83
+ * @borrows isUnknown as Unknown
43
84
*/
44
85
export const is = {
45
- /** @inheritdoc */
46
86
Any : isAny ,
47
- /** @inheritdoc */
48
87
Array : isArray ,
49
- /** @inheritdoc */
50
88
ArrayOf : isArrayOf ,
51
- /** @inheritdoc */
52
89
AsyncFunction : isAsyncFunction ,
53
- /** @inheritdoc */
54
90
Bigint : isBigint ,
55
- /** @inheritdoc */
56
91
Boolean : isBoolean ,
57
- /** @inheritdoc */
58
92
Function : isFunction ,
59
- /** @inheritdoc */
60
93
InstanceOf : isInstanceOf ,
61
- /** @inheritdoc */
62
94
IntersectionOf : isIntersectionOf ,
63
- /** @inheritdoc */
64
95
LiteralOf : isLiteralOf ,
65
- /** @inheritdoc */
66
96
LiteralOneOf : isLiteralOneOf ,
67
- /** @inheritdoc */
68
97
Map : isMap ,
69
- /** @inheritdoc */
70
98
MapOf : isMapOf ,
71
- /** @inheritdoc */
72
99
Null : isNull ,
73
- /** @inheritdoc */
74
100
Nullish : isNullish ,
75
- /** @inheritdoc */
76
101
Number : isNumber ,
77
- /** @inheritdoc */
78
102
ObjectOf : isObjectOf ,
79
- /** @inheritdoc */
80
103
OmitOf : isOmitOf ,
81
- /** @inheritdoc */
82
104
ParametersOf : isParametersOf ,
83
- /** @inheritdoc */
84
105
PartialOf : isPartialOf ,
85
- /** @inheritdoc */
86
106
PickOf : isPickOf ,
87
- /** @inheritdoc */
88
107
Primitive : isPrimitive ,
89
- /** @inheritdoc */
90
108
ReadonlyOf : isReadonlyOf ,
91
- /** @inheritdoc */
92
109
Record : isRecord ,
93
- /** @inheritdoc */
94
110
RecordObject : isRecordObject ,
95
- /** @inheritdoc */
96
111
RecordObjectOf : isRecordObjectOf ,
97
- /** @inheritdoc */
98
112
RecordOf : isRecordOf ,
99
- /** @inheritdoc */
100
113
RequiredOf : isRequiredOf ,
101
- /** @inheritdoc */
102
114
Set : isSet ,
103
- /** @inheritdoc */
104
115
SetOf : isSetOf ,
105
- /** @inheritdoc */
106
116
StrictOf : isStrictOf ,
107
- /** @inheritdoc */
108
117
String : isString ,
109
- /** @inheritdoc */
110
118
Symbol : isSymbol ,
111
- /** @inheritdoc */
112
119
SyncFunction : isSyncFunction ,
113
- /** @inheritdoc */
114
120
TupleOf : isTupleOf ,
115
- /** @inheritdoc */
116
121
Undefined : isUndefined ,
117
- /** @inheritdoc */
118
122
UniformTupleOf : isUniformTupleOf ,
119
- /** @inheritdoc */
120
123
UnionOf : isUnionOf ,
121
- /** @inheritdoc */
122
124
Unknown : isUnknown ,
123
125
} as const ;
0 commit comments