@isdk/ai-tool 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-PY6NRGZE.mjs +1 -0
- package/dist/funcs.d.mts +1 -1
- package/dist/funcs.d.ts +1 -1
- package/dist/funcs.js +1 -1
- package/dist/funcs.mjs +1 -1
- package/dist/{index-nP9lSU6E.d.mts → index-DUEs7T8M.d.mts} +2 -2
- package/dist/{index-nP9lSU6E.d.ts → index-DUEs7T8M.d.ts} +2 -2
- package/dist/index.d.mts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/README.md +5 -3
- package/docs/_media/CONTRIBUTING.md +18 -0
- package/docs/_media/LICENSE-MIT +22 -0
- package/docs/classes/AbortError.md +108 -129
- package/docs/classes/AlreadyExistsError.md +105 -126
- package/docs/classes/BaseError.md +112 -125
- package/docs/classes/CancelableAbility.md +136 -188
- package/docs/classes/ClientTools.md +1005 -1107
- package/docs/classes/CommonError.md +115 -136
- package/docs/classes/ConfigFile.md +150 -163
- package/docs/classes/EventClient.md +1128 -1282
- package/docs/classes/EventServer.md +1165 -1303
- package/docs/classes/EventToolFunc.md +958 -1028
- package/docs/classes/FStringPromptTemplate.md +352 -438
- package/docs/classes/FewShotPromptTemplate.md +364 -464
- package/docs/classes/GolangPromptTemplate.md +352 -438
- package/docs/classes/HFEnvironment.md +53 -79
- package/docs/classes/HFInterpreter.md +20 -377
- package/docs/classes/HFTemplate.md +21 -33
- package/docs/classes/HfPromptTemplate.md +352 -438
- package/docs/classes/IntSet.md +67 -100
- package/docs/classes/NotFoundError.md +105 -126
- package/docs/classes/NotImplementationError.md +105 -126
- package/docs/classes/PromptExampleSelector.md +58 -70
- package/docs/classes/PromptTemplate.md +338 -422
- package/docs/classes/ReadableStreamError.md +108 -129
- package/docs/classes/ResClientTools.md +916 -1026
- package/docs/classes/ResServerTools.md +919 -1026
- package/docs/classes/SSEChannel.md +93 -112
- package/docs/classes/Semaphore.md +44 -140
- package/docs/classes/ServerTools.md +981 -1072
- package/docs/classes/TaskAbortController.md +46 -66
- package/docs/classes/ToolFunc.md +840 -910
- package/docs/enumerations/AsyncFeatureBits.md +37 -0
- package/docs/enumerations/AsyncFeatures.md +37 -0
- package/docs/enumerations/ErrorCode.md +217 -0
- package/docs/enumerations/XXHashAlgorithm.md +27 -0
- package/docs/functions/AIArgProcessor.md +27 -0
- package/docs/functions/AIStream.md +50 -0
- package/docs/functions/ChoiceArgProcessor.md +27 -0
- package/docs/functions/RateLimit.md +33 -0
- package/docs/functions/TemplateArgProcessor.md +27 -0
- package/docs/functions/backendEventable.md +23 -0
- package/docs/functions/canonicalize.md +21 -0
- package/docs/functions/countRegexMatches.md +33 -0
- package/docs/functions/createAbilityInjector.md +87 -0
- package/docs/functions/createCallbacksTransformer.md +49 -0
- package/docs/functions/createEmptyReadableStream.md +23 -0
- package/docs/functions/createEndWithRepetitionDetector.md +29 -0
- package/docs/functions/createError.md +35 -0
- package/docs/functions/createEventStreamTransformer.md +33 -0
- package/docs/functions/createHfValueFunc.md +29 -0
- package/docs/functions/createLRUCache.md +23 -0
- package/docs/functions/dateToText.md +23 -0
- package/docs/functions/expandEnv.md +40 -0
- package/docs/functions/expandObjEnv.md +54 -0
- package/docs/functions/extNameLevel.md +43 -0
- package/docs/functions/fileIsExists.md +34 -0
- package/docs/functions/filenameReservedRegex.md +22 -0
- package/docs/functions/filterValidFnScope.md +21 -0
- package/docs/functions/findPort.md +23 -0
- package/docs/functions/formatISO.md +71 -0
- package/docs/functions/getAllEnumKeys.md +31 -0
- package/docs/functions/getConfigFileNames.md +23 -0
- package/docs/functions/getConfigs.md +23 -0
- package/docs/functions/getKeysPath.md +38 -0
- package/docs/functions/getMultiLevelExtname.md +31 -0
- package/docs/functions/getPackageDir.md +39 -0
- package/docs/functions/getRealFilepath.md +34 -0
- package/docs/functions/getResponseErrorReadableStream.md +21 -0
- package/docs/functions/hfParse.md +24 -0
- package/docs/functions/hfTokenize.md +25 -0
- package/docs/functions/interpolateEnv.md +25 -0
- package/docs/functions/interpolateFString.md +27 -0
- package/docs/functions/interpolateGolangTemplate.md +31 -0
- package/docs/functions/isModelNameMatched.md +45 -0
- package/docs/functions/isValidFilename.md +38 -0
- package/docs/functions/isValidFilepath.md +27 -0
- package/docs/functions/isWebStream.md +21 -0
- package/docs/functions/jsonFilterToWhere.md +45 -0
- package/docs/functions/jsonToMarkdownStr.md +31 -0
- package/docs/functions/loadFileFromPaths.md +54 -0
- package/docs/functions/loadTextFromPaths.md +29 -0
- package/docs/functions/lrucache.md +29 -0
- package/docs/functions/makeToolFuncCancelable.md +23 -0
- package/docs/functions/matchUrlProtocol.md +48 -0
- package/docs/functions/memoize.md +27 -0
- package/docs/functions/messagesToText.md +21 -0
- package/docs/functions/paramsSizeToScaleStr.md +32 -0
- package/docs/functions/parseCommand.md +33 -0
- package/docs/functions/parseDateFormat.md +360 -0
- package/docs/functions/parseFString.md +26 -0
- package/docs/functions/parseISO.md +72 -0
- package/docs/functions/parseJsJson.md +38 -0
- package/docs/functions/parseObjectArgInfo.md +27 -0
- package/docs/functions/parseObjectArgumentInfos.md +25 -0
- package/docs/functions/parseObjectArguments.md +68 -0
- package/docs/functions/parseObjectArgumentsAsArgInfos.md +42 -0
- package/docs/functions/parseYaml.md +21 -0
- package/docs/functions/quoteStr.md +21 -0
- package/docs/functions/reControlCharsRegex.md +21 -0
- package/docs/functions/readFilenamesRecursiveSync.md +47 -0
- package/docs/functions/readableFromAsyncIterable.md +28 -0
- package/docs/functions/registerCoreTools.md +17 -0
- package/docs/functions/registerYamlTag.md +21 -0
- package/docs/functions/sanitizeFilename.md +37 -0
- package/docs/functions/sanitizeFilepath.md +31 -0
- package/docs/functions/saveConfigFile.md +25 -0
- package/docs/functions/scaleStrToParamsSize.md +27 -0
- package/docs/functions/simplifyObjectArguments.md +21 -0
- package/docs/functions/sortedValues.md +25 -0
- package/docs/functions/splitSentence.md +37 -0
- package/docs/functions/stringifyYaml.md +49 -0
- package/docs/functions/textToDate.md +23 -0
- package/docs/functions/throwError.md +37 -0
- package/docs/functions/toDate.md +76 -0
- package/docs/functions/toDateTime.md +21 -0
- package/docs/functions/trimStartOfStreamHelper.md +41 -0
- package/docs/functions/truncTo.md +47 -0
- package/docs/functions/uuid.md +23 -0
- package/docs/functions/uuidParse.md +21 -0
- package/docs/functions/uuidStringify.md +23 -0
- package/docs/functions/uuidValidate.md +21 -0
- package/docs/functions/uuidVersion.md +21 -0
- package/docs/functions/uuidv1.md +47 -0
- package/docs/functions/uuidv4.md +47 -0
- package/docs/functions/uuidv5.md +51 -0
- package/docs/functions/wait.md +21 -0
- package/docs/functions/xxhash.md +25 -0
- package/docs/functions/xxhash32.md +23 -0
- package/docs/functions/xxhash64.md +23 -0
- package/docs/functions/xxhashAsStr.md +25 -0
- package/docs/globals.md +236 -0
- package/docs/interfaces/AIChatAssistantMessageParam.md +29 -38
- package/docs/interfaces/AIChatContentPartImage.md +11 -16
- package/docs/interfaces/AIChatContentPartText.md +9 -12
- package/docs/interfaces/AIChatMessageParamBase.md +12 -19
- package/docs/interfaces/AIChatMessageToolCall.md +18 -21
- package/docs/interfaces/AIChatSystemMessageParam.md +16 -22
- package/docs/interfaces/AIChatToolMessageParam.md +19 -26
- package/docs/interfaces/AIChatUserMessageParam.md +32 -42
- package/docs/interfaces/AIChoiceConfig.md +31 -39
- package/docs/interfaces/AIResult.md +29 -32
- package/docs/interfaces/AIStreamParser.md +24 -18
- package/docs/interfaces/AIStreamParserOptions.md +8 -10
- package/docs/interfaces/BaseFunc.md +55 -75
- package/docs/interfaces/BaseFuncItem.md +43 -61
- package/docs/interfaces/CancelableAbilityOptions.md +43 -54
- package/docs/interfaces/ClientFuncItem.md +66 -83
- package/docs/interfaces/DotenvExpandOptions.md +15 -19
- package/docs/interfaces/DotenvExpandOutput.md +11 -14
- package/docs/interfaces/DotenvParseInput.md +6 -2
- package/docs/interfaces/DotenvParseOutput.md +6 -2
- package/docs/interfaces/DotenvPopulateInput.md +6 -2
- package/docs/interfaces/EventClientFuncParams.md +22 -33
- package/docs/interfaces/EventServerFuncParams.md +27 -35
- package/docs/interfaces/FewShotPromptTemplateOptions.md +58 -74
- package/docs/interfaces/FuncItem.md +53 -70
- package/docs/interfaces/FuncParam.md +29 -36
- package/docs/interfaces/FuncParams.md +6 -2
- package/docs/interfaces/Funcs.md +6 -2
- package/docs/interfaces/JsonFilter.md +6 -2
- package/docs/interfaces/ParseObjectArgumentOptions.md +23 -29
- package/docs/interfaces/PromptExampleSelectorOptions.md +13 -16
- package/docs/interfaces/PromptTemplateOptions.md +31 -40
- package/docs/interfaces/RemoteFuncItem.md +64 -82
- package/docs/interfaces/ResClientFuncParams.md +14 -19
- package/docs/interfaces/ResServerFuncParams.md +28 -36
- package/docs/interfaces/SanitizeFilenameOptions.md +11 -14
- package/docs/interfaces/ServerFuncItem.md +70 -88
- package/docs/interfaces/ServerFuncParams.md +15 -20
- package/docs/interfaces/StreamCallbacksAndOptions.md +36 -65
- package/docs/interfaces/TaskAbortControllers.md +6 -2
- package/docs/interfaces/TaskPromise.md +48 -61
- package/docs/interfaces/ToolFuncPackage.md +18 -32
- package/docs/type-aliases/AIChatContentPart.md +13 -0
- package/docs/type-aliases/AIChatMessageParam.md +13 -0
- package/docs/type-aliases/AIChatRole.md +13 -0
- package/docs/type-aliases/AIMessageType.md +13 -0
- package/docs/type-aliases/AIModelNameRule.md +13 -0
- package/docs/type-aliases/AIModelNameRuleFn.md +21 -0
- package/docs/type-aliases/AIModelNameRules.md +13 -0
- package/docs/type-aliases/AITextGenerationFinishReason.md +13 -0
- package/docs/type-aliases/ActionName.md +13 -0
- package/docs/type-aliases/AsyncTaskId.md +13 -0
- package/docs/type-aliases/EventErrorListenerFn.md +27 -0
- package/docs/type-aliases/EventListenerFn.md +25 -0
- package/docs/type-aliases/FStringPromptTemplateNode.md +16 -0
- package/docs/type-aliases/FuncParamType.md +13 -0
- package/docs/type-aliases/PromptExamples.md +17 -0
- package/docs/type-aliases/PromptTemplateType.md +13 -0
- package/docs/type-aliases/PromptType.md +13 -0
- package/docs/type-aliases/TFunc.md +23 -0
- package/docs/variables/AIChatRoles.md +13 -0
- package/docs/variables/AIMessageTypes.md +13 -0
- package/docs/variables/AITextGenerationFinishReasons.md +13 -0
- package/docs/variables/AbortErrorCode.md +13 -0
- package/docs/variables/ActionNames.md +13 -0
- package/docs/variables/AlreadyExistsErrorCode.md +13 -0
- package/docs/variables/ClientToolFuncSchema.md +87 -0
- package/docs/variables/DefaultAsyncSemaphoreCapacity.md +13 -0
- package/docs/variables/EventBusName.md +13 -0
- package/docs/variables/EventName.md +13 -0
- package/docs/variables/FilenameReservedRegex.md +16 -0
- package/docs/variables/HFBuiltins.md +92 -0
- package/docs/variables/InternalErrorCode.md +13 -0
- package/docs/variables/NotFoundErrorCode.md +13 -0
- package/docs/variables/NotImplementedErrorCode.md +13 -0
- package/docs/variables/PASSING_SCORE.md +13 -0
- package/docs/variables/PromptTemplateTypes.md +13 -0
- package/docs/variables/PromptTypes.md +16 -0
- package/docs/variables/RStreamErrCode.md +13 -0
- package/docs/variables/RemoteToolFuncSchema.md +87 -0
- package/docs/variables/ResponseRStreamErrCode.md +13 -0
- package/docs/variables/SSEChannelAlreadyClosedErrCode.md +13 -0
- package/docs/variables/ServerToolFuncSchema.md +87 -0
- package/docs/variables/ToolAsyncCancelableBit.md +13 -0
- package/docs/variables/ToolAsyncMultiTaskBit.md +13 -0
- package/docs/variables/ToolAsyncPriorityBit.md +13 -0
- package/docs/variables/ToolFuncSchema.md +125 -0
- package/docs/variables/WindowsReservedNameRegex.md +15 -0
- package/docs/variables/base32768.md +13 -0
- package/docs/variables/defaultTemplateFormat.md +13 -0
- package/docs/variables/event.md +13 -0
- package/docs/variables/eventClient.md +13 -0
- package/docs/variables/eventServer.md +13 -0
- package/docs/variables/lrucache.md +13 -0
- package/docs/variables/mimeType.md +13 -0
- package/docs/variables/uuidNIL.md +13 -0
- package/package.json +26 -27
- package/dist/chunk-W2LO3HZT.mjs +0 -1
- package/docs/.nojekyll +0 -1
- package/docs/enums/AsyncFeatureBits.md +0 -41
- package/docs/enums/AsyncFeatures.md +0 -41
- package/docs/enums/ErrorCode.md +0 -239
- package/docs/enums/XXHashAlgorithm.md +0 -30
- package/docs/modules.md +0 -4062
package/docs/classes/IntSet.md
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
[
|
|
1
|
+
[**@isdk/ai-tool**](../README.md) • **Docs**
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@isdk/ai-tool](../globals.md) / IntSet
|
|
2
6
|
|
|
3
7
|
# Class: IntSet
|
|
4
8
|
|
|
@@ -6,40 +10,15 @@ Represents a set of integers using a bit field.
|
|
|
6
10
|
Each bit in the bit field represents an integer starting from 0,
|
|
7
11
|
where the flag value 0 represents the 0th bit, 1 represents the 1st bit, and so on.
|
|
8
12
|
|
|
9
|
-
## Table of contents
|
|
10
|
-
|
|
11
|
-
### Constructors
|
|
12
|
-
|
|
13
|
-
- [constructor](IntSet.md#constructor)
|
|
14
|
-
|
|
15
|
-
### Properties
|
|
16
|
-
|
|
17
|
-
- [bitField](IntSet.md#bitfield)
|
|
18
|
-
|
|
19
|
-
### Methods
|
|
20
|
-
|
|
21
|
-
- [add](IntSet.md#add)
|
|
22
|
-
- [clear](IntSet.md#clear)
|
|
23
|
-
- [delete](IntSet.md#delete)
|
|
24
|
-
- [has](IntSet.md#has)
|
|
25
|
-
- [toJSON](IntSet.md#tojson)
|
|
26
|
-
- [toString](IntSet.md#tostring)
|
|
27
|
-
- [valueOf](IntSet.md#valueof)
|
|
28
|
-
- [add](IntSet.md#add-1)
|
|
29
|
-
- [delete](IntSet.md#delete-1)
|
|
30
|
-
- [has](IntSet.md#has-1)
|
|
31
|
-
|
|
32
13
|
## Constructors
|
|
33
14
|
|
|
34
|
-
###
|
|
15
|
+
### new IntSet()
|
|
35
16
|
|
|
36
|
-
|
|
17
|
+
> **new IntSet**(`bitField`): [`IntSet`](IntSet.md)
|
|
37
18
|
|
|
38
19
|
#### Parameters
|
|
39
20
|
|
|
40
|
-
|
|
41
|
-
| :------ | :------ | :------ |
|
|
42
|
-
| `bitField` | `number` | `0` |
|
|
21
|
+
• **bitField**: `number` = `0`
|
|
43
22
|
|
|
44
23
|
#### Returns
|
|
45
24
|
|
|
@@ -47,31 +26,22 @@ where the flag value 0 represents the 0th bit, 1 represents the 1st bit, and so
|
|
|
47
26
|
|
|
48
27
|
#### Defined in
|
|
49
28
|
|
|
50
|
-
[packages/ai-tool/src/utils/intset.ts:21](https://github.com/isdk/ai-tool.js/blob/
|
|
51
|
-
|
|
52
|
-
## Properties
|
|
53
|
-
|
|
54
|
-
### bitField
|
|
55
|
-
|
|
56
|
-
• `Private` **bitField**: `number` = `0`
|
|
57
|
-
|
|
58
|
-
#### Defined in
|
|
59
|
-
|
|
60
|
-
[packages/ai-tool/src/utils/intset.ts:21](https://github.com/isdk/ai-tool.js/blob/c5e620338f3b80d6ef09148577c5087098896d8b/src/utils/intset.ts#L21)
|
|
29
|
+
[packages/ai-tool/src/utils/intset.ts:21](https://github.com/isdk/ai-tool.js/blob/37ada542a786fbbc770f2d61beb564f6e603941d/src/utils/intset.ts#L21)
|
|
61
30
|
|
|
62
31
|
## Methods
|
|
63
32
|
|
|
64
|
-
### add
|
|
33
|
+
### add()
|
|
65
34
|
|
|
66
|
-
|
|
35
|
+
> **add**(`flag`): [`IntSet`](IntSet.md)
|
|
67
36
|
|
|
68
37
|
Adds an element to the set.
|
|
69
38
|
|
|
70
39
|
#### Parameters
|
|
71
40
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
41
|
+
• **flag**: `number`
|
|
42
|
+
|
|
43
|
+
The flag value representing the bit position to set.
|
|
44
|
+
Note: the flag value 0 represents the 0th bit, and so on.
|
|
75
45
|
|
|
76
46
|
#### Returns
|
|
77
47
|
|
|
@@ -79,13 +49,13 @@ Adds an element to the set.
|
|
|
79
49
|
|
|
80
50
|
#### Defined in
|
|
81
51
|
|
|
82
|
-
[packages/ai-tool/src/utils/intset.ts:29](https://github.com/isdk/ai-tool.js/blob/
|
|
52
|
+
[packages/ai-tool/src/utils/intset.ts:29](https://github.com/isdk/ai-tool.js/blob/37ada542a786fbbc770f2d61beb564f6e603941d/src/utils/intset.ts#L29)
|
|
83
53
|
|
|
84
|
-
|
|
54
|
+
***
|
|
85
55
|
|
|
86
|
-
### clear
|
|
56
|
+
### clear()
|
|
87
57
|
|
|
88
|
-
|
|
58
|
+
> **clear**(): [`IntSet`](IntSet.md)
|
|
89
59
|
|
|
90
60
|
Clears all elements from the set.
|
|
91
61
|
|
|
@@ -95,21 +65,21 @@ Clears all elements from the set.
|
|
|
95
65
|
|
|
96
66
|
#### Defined in
|
|
97
67
|
|
|
98
|
-
[packages/ai-tool/src/utils/intset.ts:57](https://github.com/isdk/ai-tool.js/blob/
|
|
68
|
+
[packages/ai-tool/src/utils/intset.ts:57](https://github.com/isdk/ai-tool.js/blob/37ada542a786fbbc770f2d61beb564f6e603941d/src/utils/intset.ts#L57)
|
|
99
69
|
|
|
100
|
-
|
|
70
|
+
***
|
|
101
71
|
|
|
102
|
-
### delete
|
|
72
|
+
### delete()
|
|
103
73
|
|
|
104
|
-
|
|
74
|
+
> **delete**(`flag`): [`IntSet`](IntSet.md)
|
|
105
75
|
|
|
106
76
|
Removes an element from the set.
|
|
107
77
|
|
|
108
78
|
#### Parameters
|
|
109
79
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
80
|
+
• **flag**: `number`
|
|
81
|
+
|
|
82
|
+
The flag value representing the bit position to set. 0 represents the 0th bit
|
|
113
83
|
|
|
114
84
|
#### Returns
|
|
115
85
|
|
|
@@ -117,21 +87,21 @@ Removes an element from the set.
|
|
|
117
87
|
|
|
118
88
|
#### Defined in
|
|
119
89
|
|
|
120
|
-
[packages/ai-tool/src/utils/intset.ts:39](https://github.com/isdk/ai-tool.js/blob/
|
|
90
|
+
[packages/ai-tool/src/utils/intset.ts:39](https://github.com/isdk/ai-tool.js/blob/37ada542a786fbbc770f2d61beb564f6e603941d/src/utils/intset.ts#L39)
|
|
121
91
|
|
|
122
|
-
|
|
92
|
+
***
|
|
123
93
|
|
|
124
|
-
### has
|
|
94
|
+
### has()
|
|
125
95
|
|
|
126
|
-
|
|
96
|
+
> **has**(`flag`): `boolean`
|
|
127
97
|
|
|
128
98
|
Determines whether an element is in the set.
|
|
129
99
|
|
|
130
100
|
#### Parameters
|
|
131
101
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
102
|
+
• **flag**: `number`
|
|
103
|
+
|
|
104
|
+
The flag value representing the bit position to set. 0 represents the 0th bit
|
|
135
105
|
|
|
136
106
|
#### Returns
|
|
137
107
|
|
|
@@ -141,13 +111,13 @@ true if the element is in the set; otherwise, false.
|
|
|
141
111
|
|
|
142
112
|
#### Defined in
|
|
143
113
|
|
|
144
|
-
[packages/ai-tool/src/utils/intset.ts:50](https://github.com/isdk/ai-tool.js/blob/
|
|
114
|
+
[packages/ai-tool/src/utils/intset.ts:50](https://github.com/isdk/ai-tool.js/blob/37ada542a786fbbc770f2d61beb564f6e603941d/src/utils/intset.ts#L50)
|
|
145
115
|
|
|
146
|
-
|
|
116
|
+
***
|
|
147
117
|
|
|
148
|
-
### toJSON
|
|
118
|
+
### toJSON()
|
|
149
119
|
|
|
150
|
-
|
|
120
|
+
> **toJSON**(): `number`
|
|
151
121
|
|
|
152
122
|
#### Returns
|
|
153
123
|
|
|
@@ -155,13 +125,13 @@ ___
|
|
|
155
125
|
|
|
156
126
|
#### Defined in
|
|
157
127
|
|
|
158
|
-
[packages/ai-tool/src/utils/intset.ts:70](https://github.com/isdk/ai-tool.js/blob/
|
|
128
|
+
[packages/ai-tool/src/utils/intset.ts:70](https://github.com/isdk/ai-tool.js/blob/37ada542a786fbbc770f2d61beb564f6e603941d/src/utils/intset.ts#L70)
|
|
159
129
|
|
|
160
|
-
|
|
130
|
+
***
|
|
161
131
|
|
|
162
|
-
### toString
|
|
132
|
+
### toString()
|
|
163
133
|
|
|
164
|
-
|
|
134
|
+
> **toString**(): `string`
|
|
165
135
|
|
|
166
136
|
#### Returns
|
|
167
137
|
|
|
@@ -169,13 +139,13 @@ ___
|
|
|
169
139
|
|
|
170
140
|
#### Defined in
|
|
171
141
|
|
|
172
|
-
[packages/ai-tool/src/utils/intset.ts:66](https://github.com/isdk/ai-tool.js/blob/
|
|
142
|
+
[packages/ai-tool/src/utils/intset.ts:66](https://github.com/isdk/ai-tool.js/blob/37ada542a786fbbc770f2d61beb564f6e603941d/src/utils/intset.ts#L66)
|
|
173
143
|
|
|
174
|
-
|
|
144
|
+
***
|
|
175
145
|
|
|
176
|
-
### valueOf
|
|
146
|
+
### valueOf()
|
|
177
147
|
|
|
178
|
-
|
|
148
|
+
> **valueOf**(): `number`
|
|
179
149
|
|
|
180
150
|
#### Returns
|
|
181
151
|
|
|
@@ -183,20 +153,19 @@ ___
|
|
|
183
153
|
|
|
184
154
|
#### Defined in
|
|
185
155
|
|
|
186
|
-
[packages/ai-tool/src/utils/intset.ts:62](https://github.com/isdk/ai-tool.js/blob/
|
|
156
|
+
[packages/ai-tool/src/utils/intset.ts:62](https://github.com/isdk/ai-tool.js/blob/37ada542a786fbbc770f2d61beb564f6e603941d/src/utils/intset.ts#L62)
|
|
187
157
|
|
|
188
|
-
|
|
158
|
+
***
|
|
189
159
|
|
|
190
|
-
### add
|
|
160
|
+
### add()
|
|
191
161
|
|
|
192
|
-
|
|
162
|
+
> `static` **add**(`bitField`, `flag`): `number`
|
|
193
163
|
|
|
194
164
|
#### Parameters
|
|
195
165
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
| `flag` | `number` |
|
|
166
|
+
• **bitField**: `number`
|
|
167
|
+
|
|
168
|
+
• **flag**: `number`
|
|
200
169
|
|
|
201
170
|
#### Returns
|
|
202
171
|
|
|
@@ -204,20 +173,19 @@ ___
|
|
|
204
173
|
|
|
205
174
|
#### Defined in
|
|
206
175
|
|
|
207
|
-
[packages/ai-tool/src/utils/intset.ts:12](https://github.com/isdk/ai-tool.js/blob/
|
|
176
|
+
[packages/ai-tool/src/utils/intset.ts:12](https://github.com/isdk/ai-tool.js/blob/37ada542a786fbbc770f2d61beb564f6e603941d/src/utils/intset.ts#L12)
|
|
208
177
|
|
|
209
|
-
|
|
178
|
+
***
|
|
210
179
|
|
|
211
|
-
### delete
|
|
180
|
+
### delete()
|
|
212
181
|
|
|
213
|
-
|
|
182
|
+
> `static` **delete**(`bitField`, `flag`): `number`
|
|
214
183
|
|
|
215
184
|
#### Parameters
|
|
216
185
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
| `flag` | `number` |
|
|
186
|
+
• **bitField**: `number`
|
|
187
|
+
|
|
188
|
+
• **flag**: `number`
|
|
221
189
|
|
|
222
190
|
#### Returns
|
|
223
191
|
|
|
@@ -225,20 +193,19 @@ ___
|
|
|
225
193
|
|
|
226
194
|
#### Defined in
|
|
227
195
|
|
|
228
|
-
[packages/ai-tool/src/utils/intset.ts:16](https://github.com/isdk/ai-tool.js/blob/
|
|
196
|
+
[packages/ai-tool/src/utils/intset.ts:16](https://github.com/isdk/ai-tool.js/blob/37ada542a786fbbc770f2d61beb564f6e603941d/src/utils/intset.ts#L16)
|
|
229
197
|
|
|
230
|
-
|
|
198
|
+
***
|
|
231
199
|
|
|
232
|
-
### has
|
|
200
|
+
### has()
|
|
233
201
|
|
|
234
|
-
|
|
202
|
+
> `static` **has**(`bitField`, `flag`): `boolean`
|
|
235
203
|
|
|
236
204
|
#### Parameters
|
|
237
205
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
| `flag` | `number` |
|
|
206
|
+
• **bitField**: `number`
|
|
207
|
+
|
|
208
|
+
• **flag**: `number`
|
|
242
209
|
|
|
243
210
|
#### Returns
|
|
244
211
|
|
|
@@ -246,4 +213,4 @@ ___
|
|
|
246
213
|
|
|
247
214
|
#### Defined in
|
|
248
215
|
|
|
249
|
-
[packages/ai-tool/src/utils/intset.ts:8](https://github.com/isdk/ai-tool.js/blob/
|
|
216
|
+
[packages/ai-tool/src/utils/intset.ts:8](https://github.com/isdk/ai-tool.js/blob/37ada542a786fbbc770f2d61beb564f6e603941d/src/utils/intset.ts#L8)
|