effect 4.0.1 → 4.0.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/ai-docs/package.json +2 -2
- package/ai-docs/tsconfig.json +2 -1
- package/dist/Array.d.ts +339 -0
- package/dist/Array.d.ts.map +1 -1
- package/dist/Array.js +143 -3
- package/dist/Array.js.map +1 -1
- package/dist/BigDecimal.d.ts +88 -0
- package/dist/BigDecimal.d.ts.map +1 -1
- package/dist/BigDecimal.js +44 -0
- package/dist/BigDecimal.js.map +1 -1
- package/dist/BigInt.d.ts +68 -0
- package/dist/BigInt.d.ts.map +1 -1
- package/dist/BigInt.js +36 -0
- package/dist/BigInt.js.map +1 -1
- package/dist/Boolean.d.ts +34 -0
- package/dist/Boolean.d.ts.map +1 -1
- package/dist/Boolean.js +18 -0
- package/dist/Boolean.js.map +1 -1
- package/dist/Brand.d.ts +9 -0
- package/dist/Brand.d.ts.map +1 -1
- package/dist/Brand.js +6 -0
- package/dist/Brand.js.map +1 -1
- package/dist/ByteSize.d.ts +86 -0
- package/dist/ByteSize.d.ts.map +1 -1
- package/dist/ByteSize.js +51 -0
- package/dist/ByteSize.js.map +1 -1
- package/dist/Cache.d.ts +38 -1
- package/dist/Cache.d.ts.map +1 -1
- package/dist/Cache.js +27 -7
- package/dist/Cache.js.map +1 -1
- package/dist/Cause.d.ts +82 -0
- package/dist/Cause.d.ts.map +1 -1
- package/dist/Cause.js +60 -0
- package/dist/Cause.js.map +1 -1
- package/dist/Channel.d.ts +327 -4
- package/dist/Channel.d.ts.map +1 -1
- package/dist/Channel.js +168 -8
- package/dist/Channel.js.map +1 -1
- package/dist/ChannelSchema.d.ts +11 -0
- package/dist/ChannelSchema.d.ts.map +1 -1
- package/dist/ChannelSchema.js +6 -0
- package/dist/ChannelSchema.js.map +1 -1
- package/dist/Chunk.d.ts +192 -0
- package/dist/Chunk.d.ts.map +1 -1
- package/dist/Chunk.js +78 -0
- package/dist/Chunk.js.map +1 -1
- package/dist/Clock.d.ts +7 -0
- package/dist/Clock.d.ts.map +1 -1
- package/dist/Clock.js +5 -0
- package/dist/Clock.js.map +1 -1
- package/dist/Combiner.d.ts +10 -0
- package/dist/Combiner.d.ts.map +1 -1
- package/dist/Combiner.js +8 -0
- package/dist/Combiner.js.map +1 -1
- package/dist/Config.d.ts +52 -12
- package/dist/Config.d.ts.map +1 -1
- package/dist/Config.js +55 -5
- package/dist/Config.js.map +1 -1
- package/dist/ConfigProvider.d.ts +28 -0
- package/dist/ConfigProvider.d.ts.map +1 -1
- package/dist/ConfigProvider.js +19 -0
- package/dist/ConfigProvider.js.map +1 -1
- package/dist/Console.d.ts +22 -0
- package/dist/Console.d.ts.map +1 -1
- package/dist/Console.js +20 -0
- package/dist/Console.js.map +1 -1
- package/dist/Context.d.ts +50 -0
- package/dist/Context.d.ts.map +1 -1
- package/dist/Context.js +21 -0
- package/dist/Context.js.map +1 -1
- package/dist/Cron.d.ts +16 -0
- package/dist/Cron.d.ts.map +1 -1
- package/dist/Cron.js +26 -1
- package/dist/Cron.js.map +1 -1
- package/dist/Crypto.d.ts +5 -0
- package/dist/Crypto.d.ts.map +1 -1
- package/dist/Crypto.js +3 -0
- package/dist/Crypto.js.map +1 -1
- package/dist/Data.d.ts +13 -0
- package/dist/Data.d.ts.map +1 -1
- package/dist/Data.js +5 -0
- package/dist/Data.js.map +1 -1
- package/dist/DateTime.d.ts +171 -0
- package/dist/DateTime.d.ts.map +1 -1
- package/dist/DateTime.js +89 -0
- package/dist/DateTime.js.map +1 -1
- package/dist/Deferred.d.ts +51 -0
- package/dist/Deferred.d.ts.map +1 -1
- package/dist/Deferred.js +22 -0
- package/dist/Deferred.js.map +1 -1
- package/dist/Differ.d.ts +2 -0
- package/dist/Differ.d.ts.map +1 -1
- package/dist/Differ.js +1 -0
- package/dist/Duration.d.ts +90 -0
- package/dist/Duration.d.ts.map +1 -1
- package/dist/Duration.js +53 -0
- package/dist/Duration.js.map +1 -1
- package/dist/Effect.d.ts +527 -0
- package/dist/Effect.d.ts.map +1 -1
- package/dist/Effect.js +240 -5
- package/dist/Effect.js.map +1 -1
- package/dist/Effectable.d.ts +4 -0
- package/dist/Effectable.d.ts.map +1 -1
- package/dist/Effectable.js +3 -0
- package/dist/Effectable.js.map +1 -1
- package/dist/Equal.d.ts +8 -0
- package/dist/Equal.d.ts.map +1 -1
- package/dist/Equal.js +9 -1
- package/dist/Equal.js.map +1 -1
- package/dist/Equivalence.d.ts +21 -0
- package/dist/Equivalence.d.ts.map +1 -1
- package/dist/Equivalence.js +16 -0
- package/dist/Equivalence.js.map +1 -1
- package/dist/ErrorReporter.d.ts +36 -0
- package/dist/ErrorReporter.d.ts.map +1 -1
- package/dist/ErrorReporter.js +11 -0
- package/dist/ErrorReporter.js.map +1 -1
- package/dist/ExecutionPlan.d.ts +49 -8
- package/dist/ExecutionPlan.d.ts.map +1 -1
- package/dist/ExecutionPlan.js +7 -0
- package/dist/ExecutionPlan.js.map +1 -1
- package/dist/Exit.d.ts +40 -0
- package/dist/Exit.d.ts.map +1 -1
- package/dist/Exit.js +27 -0
- package/dist/Exit.js.map +1 -1
- package/dist/Fiber.d.ts +20 -0
- package/dist/Fiber.d.ts.map +1 -1
- package/dist/Fiber.js +11 -0
- package/dist/Fiber.js.map +1 -1
- package/dist/FiberHandle.d.ts +21 -0
- package/dist/FiberHandle.d.ts.map +1 -1
- package/dist/FiberHandle.js +21 -4
- package/dist/FiberHandle.js.map +1 -1
- package/dist/FiberMap.d.ts +35 -0
- package/dist/FiberMap.d.ts.map +1 -1
- package/dist/FiberMap.js +19 -0
- package/dist/FiberMap.js.map +1 -1
- package/dist/FiberSet.d.ts +20 -0
- package/dist/FiberSet.d.ts.map +1 -1
- package/dist/FiberSet.js +14 -0
- package/dist/FiberSet.js.map +1 -1
- package/dist/FileSystem.d.ts +15 -0
- package/dist/FileSystem.d.ts.map +1 -1
- package/dist/FileSystem.js +8 -0
- package/dist/FileSystem.js.map +1 -1
- package/dist/Filter.d.ts +55 -0
- package/dist/Filter.d.ts.map +1 -1
- package/dist/Filter.js +28 -0
- package/dist/Filter.js.map +1 -1
- package/dist/Formatter.d.ts +3 -0
- package/dist/Formatter.d.ts.map +1 -1
- package/dist/Formatter.js +39 -1
- package/dist/Formatter.js.map +1 -1
- package/dist/Function.d.ts +30 -0
- package/dist/Function.d.ts.map +1 -1
- package/dist/Function.js +20 -0
- package/dist/Function.js.map +1 -1
- package/dist/Graph.d.ts +247 -12
- package/dist/Graph.d.ts.map +1 -1
- package/dist/Graph.js +149 -28
- package/dist/Graph.js.map +1 -1
- package/dist/HKT.d.ts +5 -0
- package/dist/HKT.d.ts.map +1 -1
- package/dist/Hash.d.ts +14 -0
- package/dist/Hash.d.ts.map +1 -1
- package/dist/Hash.js +12 -0
- package/dist/Hash.js.map +1 -1
- package/dist/HashMap.d.ts +91 -0
- package/dist/HashMap.d.ts.map +1 -1
- package/dist/HashMap.js +39 -0
- package/dist/HashMap.js.map +1 -1
- package/dist/HashRing.d.ts +17 -0
- package/dist/HashRing.d.ts.map +1 -1
- package/dist/HashRing.js +9 -0
- package/dist/HashRing.js.map +1 -1
- package/dist/HashSet.d.ts +49 -0
- package/dist/HashSet.d.ts.map +1 -1
- package/dist/HashSet.js +19 -0
- package/dist/HashSet.js.map +1 -1
- package/dist/Inspectable.d.ts +7 -0
- package/dist/Inspectable.d.ts.map +1 -1
- package/dist/Inspectable.js +6 -0
- package/dist/Inspectable.js.map +1 -1
- package/dist/Iterable.d.ts +127 -0
- package/dist/Iterable.d.ts.map +1 -1
- package/dist/Iterable.js +51 -0
- package/dist/Iterable.js.map +1 -1
- package/dist/JsonPatch.d.ts +4 -0
- package/dist/JsonPatch.d.ts.map +1 -1
- package/dist/JsonPatch.js +3 -0
- package/dist/JsonPatch.js.map +1 -1
- package/dist/JsonPointer.d.ts +5 -0
- package/dist/JsonPointer.d.ts.map +1 -1
- package/dist/JsonPointer.js +5 -0
- package/dist/JsonPointer.js.map +1 -1
- package/dist/JsonSchema.d.ts +16 -0
- package/dist/JsonSchema.d.ts.map +1 -1
- package/dist/JsonSchema.js +11 -0
- package/dist/JsonSchema.js.map +1 -1
- package/dist/Latch.d.ts +14 -0
- package/dist/Latch.d.ts.map +1 -1
- package/dist/Latch.js +10 -0
- package/dist/Latch.js.map +1 -1
- package/dist/Layer.d.ts +100 -0
- package/dist/Layer.d.ts.map +1 -1
- package/dist/Layer.js +45 -1
- package/dist/Layer.js.map +1 -1
- package/dist/LayerMap.d.ts +7 -0
- package/dist/LayerMap.d.ts.map +1 -1
- package/dist/LayerMap.js +4 -0
- package/dist/LayerMap.js.map +1 -1
- package/dist/LayerRef.d.ts +5 -0
- package/dist/LayerRef.d.ts.map +1 -1
- package/dist/LayerRef.js +3 -0
- package/dist/LayerRef.js.map +1 -1
- package/dist/LogLevel.d.ts +20 -0
- package/dist/LogLevel.d.ts.map +1 -1
- package/dist/LogLevel.js +9 -0
- package/dist/LogLevel.js.map +1 -1
- package/dist/Logger.d.ts +25 -0
- package/dist/Logger.d.ts.map +1 -1
- package/dist/Logger.js +30 -4
- package/dist/Logger.js.map +1 -1
- package/dist/ManagedRuntime.d.ts +5 -0
- package/dist/ManagedRuntime.d.ts.map +1 -1
- package/dist/ManagedRuntime.js +9 -1
- package/dist/ManagedRuntime.js.map +1 -1
- package/dist/Match.d.ts +51 -0
- package/dist/Match.d.ts.map +1 -1
- package/dist/Match.js +39 -0
- package/dist/Match.js.map +1 -1
- package/dist/Metric.d.ts +59 -0
- package/dist/Metric.d.ts.map +1 -1
- package/dist/Metric.js +31 -0
- package/dist/Metric.js.map +1 -1
- package/dist/MutableHashMap.d.ts +32 -0
- package/dist/MutableHashMap.d.ts.map +1 -1
- package/dist/MutableHashMap.js +16 -0
- package/dist/MutableHashMap.js.map +1 -1
- package/dist/MutableHashSet.d.ts +16 -0
- package/dist/MutableHashSet.d.ts.map +1 -1
- package/dist/MutableHashSet.js +10 -0
- package/dist/MutableHashSet.js.map +1 -1
- package/dist/MutableList.d.ts +20 -0
- package/dist/MutableList.d.ts.map +1 -1
- package/dist/MutableList.js +18 -0
- package/dist/MutableList.js.map +1 -1
- package/dist/MutableRef.d.ts +31 -0
- package/dist/MutableRef.d.ts.map +1 -1
- package/dist/MutableRef.js +17 -0
- package/dist/MutableRef.js.map +1 -1
- package/dist/Newtype.d.ts +9 -0
- package/dist/Newtype.d.ts.map +1 -1
- package/dist/Newtype.js +6 -0
- package/dist/Newtype.js.map +1 -1
- package/dist/NonEmptyIterable.d.ts +4 -0
- package/dist/NonEmptyIterable.d.ts.map +1 -1
- package/dist/NonEmptyIterable.js +2 -0
- package/dist/NonEmptyIterable.js.map +1 -1
- package/dist/Number.d.ts +61 -0
- package/dist/Number.d.ts.map +1 -1
- package/dist/Number.js +31 -0
- package/dist/Number.js.map +1 -1
- package/dist/Optic.d.ts +41 -0
- package/dist/Optic.d.ts.map +1 -1
- package/dist/Optic.js +20 -0
- package/dist/Optic.js.map +1 -1
- package/dist/Option.d.ts +134 -0
- package/dist/Option.d.ts.map +1 -1
- package/dist/Option.js +61 -0
- package/dist/Option.js.map +1 -1
- package/dist/Order.d.ts +29 -0
- package/dist/Order.d.ts.map +1 -1
- package/dist/Order.js +24 -0
- package/dist/Order.js.map +1 -1
- package/dist/Ordering.d.ts +7 -0
- package/dist/Ordering.d.ts.map +1 -1
- package/dist/Ordering.js +3 -0
- package/dist/Ordering.js.map +1 -1
- package/dist/PartitionedSemaphore.d.ts +24 -0
- package/dist/PartitionedSemaphore.d.ts.map +1 -1
- package/dist/PartitionedSemaphore.js +47 -21
- package/dist/PartitionedSemaphore.js.map +1 -1
- package/dist/Path.d.ts +6 -0
- package/dist/Path.d.ts.map +1 -1
- package/dist/Path.js +4 -0
- package/dist/Path.js.map +1 -1
- package/dist/Pipeable.d.ts +7 -0
- package/dist/Pipeable.d.ts.map +1 -1
- package/dist/Pipeable.js +5 -0
- package/dist/Pipeable.js.map +1 -1
- package/dist/PlatformError.d.ts +8 -0
- package/dist/PlatformError.d.ts.map +1 -1
- package/dist/PlatformError.js +7 -0
- package/dist/PlatformError.js.map +1 -1
- package/dist/Pool.d.ts +19 -0
- package/dist/Pool.d.ts.map +1 -1
- package/dist/Pool.js +8 -1
- package/dist/Pool.js.map +1 -1
- package/dist/Predicate.d.ts +84 -0
- package/dist/Predicate.d.ts.map +1 -1
- package/dist/Predicate.js +48 -0
- package/dist/Predicate.js.map +1 -1
- package/dist/PrimaryKey.d.ts +5 -0
- package/dist/PrimaryKey.d.ts.map +1 -1
- package/dist/PrimaryKey.js +4 -0
- package/dist/PrimaryKey.js.map +1 -1
- package/dist/PubSub.d.ts +67 -5
- package/dist/PubSub.d.ts.map +1 -1
- package/dist/PubSub.js +60 -8
- package/dist/PubSub.js.map +1 -1
- package/dist/Pull.d.ts +20 -0
- package/dist/Pull.d.ts.map +1 -1
- package/dist/Pull.js +10 -0
- package/dist/Pull.js.map +1 -1
- package/dist/Queue.d.ts +60 -0
- package/dist/Queue.d.ts.map +1 -1
- package/dist/Queue.js +58 -8
- package/dist/Queue.js.map +1 -1
- package/dist/Random.d.ts +13 -0
- package/dist/Random.d.ts.map +1 -1
- package/dist/Random.js +9 -0
- package/dist/Random.js.map +1 -1
- package/dist/RcMap.d.ts +23 -0
- package/dist/RcMap.d.ts.map +1 -1
- package/dist/RcMap.js +8 -0
- package/dist/RcMap.js.map +1 -1
- package/dist/RcRef.d.ts +6 -0
- package/dist/RcRef.d.ts.map +1 -1
- package/dist/RcRef.js +3 -0
- package/dist/RcRef.js.map +1 -1
- package/dist/Record.d.ts +100 -0
- package/dist/Record.d.ts.map +1 -1
- package/dist/Record.js +43 -0
- package/dist/Record.js.map +1 -1
- package/dist/Redactable.d.ts +6 -0
- package/dist/Redactable.d.ts.map +1 -1
- package/dist/Redactable.js +4 -0
- package/dist/Redactable.js.map +1 -1
- package/dist/Redacted.d.ts +8 -0
- package/dist/Redacted.d.ts.map +1 -1
- package/dist/Redacted.js +6 -0
- package/dist/Redacted.js.map +1 -1
- package/dist/Reducer.d.ts +4 -0
- package/dist/Reducer.d.ts.map +1 -1
- package/dist/Reducer.js +3 -0
- package/dist/Reducer.js.map +1 -1
- package/dist/Ref.d.ts +20 -0
- package/dist/Ref.d.ts.map +1 -1
- package/dist/Ref.js +16 -0
- package/dist/Ref.js.map +1 -1
- package/dist/References.d.ts +21 -0
- package/dist/References.d.ts.map +1 -1
- package/dist/References.js +19 -0
- package/dist/References.js.map +1 -1
- package/dist/RegExp.d.ts +3 -0
- package/dist/RegExp.d.ts.map +1 -1
- package/dist/RegExp.js +4 -0
- package/dist/RegExp.js.map +1 -1
- package/dist/Request.d.ts +32 -0
- package/dist/Request.d.ts.map +1 -1
- package/dist/Request.js +12 -0
- package/dist/Request.js.map +1 -1
- package/dist/RequestResolver.d.ts +42 -0
- package/dist/RequestResolver.d.ts.map +1 -1
- package/dist/RequestResolver.js +27 -6
- package/dist/RequestResolver.js.map +1 -1
- package/dist/Resource.d.ts +6 -0
- package/dist/Resource.d.ts.map +1 -1
- package/dist/Resource.js +6 -0
- package/dist/Resource.js.map +1 -1
- package/dist/Result.d.ts +91 -0
- package/dist/Result.d.ts.map +1 -1
- package/dist/Result.js +41 -0
- package/dist/Result.js.map +1 -1
- package/dist/Runtime.d.ts +9 -0
- package/dist/Runtime.d.ts.map +1 -1
- package/dist/Runtime.js +7 -0
- package/dist/Runtime.js.map +1 -1
- package/dist/Schedule.d.ts +57 -0
- package/dist/Schedule.d.ts.map +1 -1
- package/dist/Schedule.js +32 -0
- package/dist/Schedule.js.map +1 -1
- package/dist/Scheduler.d.ts +7 -0
- package/dist/Scheduler.d.ts.map +1 -1
- package/dist/Scheduler.js +5 -0
- package/dist/Scheduler.js.map +1 -1
- package/dist/Schema.d.ts +496 -1
- package/dist/Schema.d.ts.map +1 -1
- package/dist/Schema.js +280 -1
- package/dist/Schema.js.map +1 -1
- package/dist/SchemaAST.d.ts +107 -0
- package/dist/SchemaAST.d.ts.map +1 -1
- package/dist/SchemaAST.js +81 -1
- package/dist/SchemaAST.js.map +1 -1
- package/dist/SchemaGetter.d.ts +69 -2
- package/dist/SchemaGetter.d.ts.map +1 -1
- package/dist/SchemaGetter.js +63 -4
- package/dist/SchemaGetter.js.map +1 -1
- package/dist/SchemaIssue.d.ts +33 -0
- package/dist/SchemaIssue.d.ts.map +1 -1
- package/dist/SchemaIssue.js +18 -0
- package/dist/SchemaIssue.js.map +1 -1
- package/dist/SchemaParser.d.ts +25 -0
- package/dist/SchemaParser.d.ts.map +1 -1
- package/dist/SchemaParser.js +26 -0
- package/dist/SchemaParser.js.map +1 -1
- package/dist/SchemaRepresentation.d.ts +147 -0
- package/dist/SchemaRepresentation.d.ts.map +1 -1
- package/dist/SchemaRepresentation.js +99 -0
- package/dist/SchemaRepresentation.js.map +1 -1
- package/dist/SchemaTransformation.d.ts +53 -0
- package/dist/SchemaTransformation.d.ts.map +1 -1
- package/dist/SchemaTransformation.js +46 -0
- package/dist/SchemaTransformation.js.map +1 -1
- package/dist/Scope.d.ts +19 -0
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +12 -0
- package/dist/Scope.js.map +1 -1
- package/dist/ScopedCache.d.ts +34 -0
- package/dist/ScopedCache.d.ts.map +1 -1
- package/dist/ScopedCache.js +26 -3
- package/dist/ScopedCache.js.map +1 -1
- package/dist/ScopedRef.d.ts +9 -0
- package/dist/ScopedRef.d.ts.map +1 -1
- package/dist/ScopedRef.js +6 -0
- package/dist/ScopedRef.js.map +1 -1
- package/dist/Semaphore.d.ts +26 -0
- package/dist/Semaphore.d.ts.map +1 -1
- package/dist/Semaphore.js +10 -0
- package/dist/Semaphore.js.map +1 -1
- package/dist/Sink.d.ts +125 -1
- package/dist/Sink.d.ts.map +1 -1
- package/dist/Sink.js +75 -1
- package/dist/Sink.js.map +1 -1
- package/dist/StandardSchema.d.ts +1 -0
- package/dist/StandardSchema.d.ts.map +1 -1
- package/dist/StandardSchema.js +1 -0
- package/dist/Stdio.d.ts +7 -0
- package/dist/Stdio.d.ts.map +1 -1
- package/dist/Stdio.js +5 -0
- package/dist/Stdio.js.map +1 -1
- package/dist/Stream.d.ts +558 -0
- package/dist/Stream.d.ts.map +1 -1
- package/dist/Stream.js +261 -13
- package/dist/Stream.js.map +1 -1
- package/dist/String.d.ts +87 -0
- package/dist/String.d.ts.map +1 -1
- package/dist/String.js +61 -0
- package/dist/String.js.map +1 -1
- package/dist/Struct.d.ts +46 -0
- package/dist/Struct.d.ts.map +1 -1
- package/dist/Struct.js +19 -0
- package/dist/Struct.js.map +1 -1
- package/dist/SubscriptionRef.d.ts +65 -0
- package/dist/SubscriptionRef.d.ts.map +1 -1
- package/dist/SubscriptionRef.js +25 -0
- package/dist/SubscriptionRef.js.map +1 -1
- package/dist/Symbol.d.ts +2 -0
- package/dist/Symbol.d.ts.map +1 -1
- package/dist/Symbol.js +2 -0
- package/dist/Symbol.js.map +1 -1
- package/dist/SynchronizedRef.d.ts +63 -0
- package/dist/SynchronizedRef.d.ts.map +1 -1
- package/dist/SynchronizedRef.js +24 -0
- package/dist/SynchronizedRef.js.map +1 -1
- package/dist/Take.d.ts +3 -0
- package/dist/Take.d.ts.map +1 -1
- package/dist/Take.js +1 -0
- package/dist/Take.js.map +1 -1
- package/dist/Terminal.d.ts +8 -0
- package/dist/Terminal.d.ts.map +1 -1
- package/dist/Terminal.js +4 -0
- package/dist/Terminal.js.map +1 -1
- package/dist/Tracer.d.ts +23 -0
- package/dist/Tracer.d.ts.map +1 -1
- package/dist/Tracer.js +12 -0
- package/dist/Tracer.js.map +1 -1
- package/dist/Trie.d.ts +68 -0
- package/dist/Trie.d.ts.map +1 -1
- package/dist/Trie.js +28 -0
- package/dist/Trie.js.map +1 -1
- package/dist/Tuple.d.ts +38 -0
- package/dist/Tuple.d.ts.map +1 -1
- package/dist/Tuple.js +18 -0
- package/dist/Tuple.js.map +1 -1
- package/dist/TxChunk.d.ts +52 -0
- package/dist/TxChunk.d.ts.map +1 -1
- package/dist/TxChunk.js +23 -0
- package/dist/TxChunk.js.map +1 -1
- package/dist/TxDeferred.d.ts +15 -0
- package/dist/TxDeferred.d.ts.map +1 -1
- package/dist/TxDeferred.js +8 -0
- package/dist/TxDeferred.js.map +1 -1
- package/dist/TxHashMap.d.ts +83 -0
- package/dist/TxHashMap.d.ts.map +1 -1
- package/dist/TxHashMap.js +52 -7
- package/dist/TxHashMap.js.map +1 -1
- package/dist/TxHashSet.d.ts +51 -0
- package/dist/TxHashSet.d.ts.map +1 -1
- package/dist/TxHashSet.js +29 -4
- package/dist/TxHashSet.js.map +1 -1
- package/dist/TxPriorityQueue.d.ts +30 -0
- package/dist/TxPriorityQueue.d.ts.map +1 -1
- package/dist/TxPriorityQueue.js +22 -1
- package/dist/TxPriorityQueue.js.map +1 -1
- package/dist/TxPubSub.d.ts +25 -0
- package/dist/TxPubSub.d.ts.map +1 -1
- package/dist/TxPubSub.js +19 -0
- package/dist/TxPubSub.js.map +1 -1
- package/dist/TxQueue.d.ts +51 -0
- package/dist/TxQueue.d.ts.map +1 -1
- package/dist/TxQueue.js +30 -0
- package/dist/TxQueue.js.map +1 -1
- package/dist/TxReentrantLock.d.ts +24 -0
- package/dist/TxReentrantLock.d.ts.map +1 -1
- package/dist/TxReentrantLock.js +32 -18
- package/dist/TxReentrantLock.js.map +1 -1
- package/dist/TxRef.d.ts +14 -0
- package/dist/TxRef.d.ts.map +1 -1
- package/dist/TxRef.js +7 -0
- package/dist/TxRef.js.map +1 -1
- package/dist/TxSemaphore.d.ts +25 -0
- package/dist/TxSemaphore.d.ts.map +1 -1
- package/dist/TxSemaphore.js +29 -13
- package/dist/TxSemaphore.js.map +1 -1
- package/dist/TxSubscriptionRef.d.ts +25 -0
- package/dist/TxSubscriptionRef.d.ts.map +1 -1
- package/dist/TxSubscriptionRef.js +12 -0
- package/dist/TxSubscriptionRef.js.map +1 -1
- package/dist/Types.d.ts +36 -0
- package/dist/Types.d.ts.map +1 -1
- package/dist/Types.js +1 -0
- package/dist/UndefinedOr.d.ts +15 -0
- package/dist/UndefinedOr.d.ts.map +1 -1
- package/dist/UndefinedOr.js +9 -0
- package/dist/UndefinedOr.js.map +1 -1
- package/dist/Unify.d.ts +15 -0
- package/dist/Unify.d.ts.map +1 -1
- package/dist/Unify.js +2 -0
- package/dist/Unify.js.map +1 -1
- package/dist/Utils.d.ts +4 -0
- package/dist/Utils.d.ts.map +1 -1
- package/dist/Utils.js +1 -0
- package/dist/Utils.js.map +1 -1
- package/dist/Version.d.ts +26 -0
- package/dist/Version.d.ts.map +1 -0
- package/dist/Version.js +36 -0
- package/dist/Version.js.map +1 -0
- package/dist/ai/Chat.js +1 -1
- package/dist/ai/Chat.js.map +1 -1
- package/dist/ai/DecisionModel.d.ts +22 -0
- package/dist/ai/DecisionModel.d.ts.map +1 -1
- package/dist/ai/DecisionModel.js +22 -4
- package/dist/ai/DecisionModel.js.map +1 -1
- package/dist/ai/LanguageModel.d.ts.map +1 -1
- package/dist/ai/LanguageModel.js +14 -13
- package/dist/ai/LanguageModel.js.map +1 -1
- package/dist/ai/McpServer.d.ts +32 -11
- package/dist/ai/McpServer.d.ts.map +1 -1
- package/dist/ai/McpServer.js +213 -169
- package/dist/ai/McpServer.js.map +1 -1
- package/dist/ai/Telemetry.d.ts +49 -41
- package/dist/ai/Telemetry.d.ts.map +1 -1
- package/dist/ai/Telemetry.js +6 -8
- package/dist/ai/Telemetry.js.map +1 -1
- package/dist/ai/internal/mcpRuntime.js +79 -46
- package/dist/ai/internal/mcpRuntime.js.map +1 -1
- package/dist/ai/internal/mcpStatefulRuntime.js +1 -0
- package/dist/ai/internal/mcpStatefulRuntime.js.map +1 -1
- package/dist/cluster/K8sHttpClient.d.ts.map +1 -1
- package/dist/cluster/K8sHttpClient.js +5 -2
- package/dist/cluster/K8sHttpClient.js.map +1 -1
- package/dist/encoding/Base64.d.ts +4 -0
- package/dist/encoding/Base64.d.ts.map +1 -1
- package/dist/encoding/Base64.js +4 -0
- package/dist/encoding/Base64.js.map +1 -1
- package/dist/encoding/Base64Url.d.ts +4 -0
- package/dist/encoding/Base64Url.d.ts.map +1 -1
- package/dist/encoding/Base64Url.js +4 -0
- package/dist/encoding/Base64Url.js.map +1 -1
- package/dist/encoding/EncodingError.d.ts +4 -0
- package/dist/encoding/EncodingError.d.ts.map +1 -1
- package/dist/encoding/EncodingError.js +4 -0
- package/dist/encoding/EncodingError.js.map +1 -1
- package/dist/encoding/Hex.d.ts +5 -0
- package/dist/encoding/Hex.d.ts.map +1 -1
- package/dist/encoding/Hex.js +5 -0
- package/dist/encoding/Hex.js.map +1 -1
- package/dist/encoding/Toml.js +2 -2
- package/dist/encoding/Toml.js.map +1 -1
- package/dist/encoding/Yaml.d.ts.map +1 -1
- package/dist/encoding/Yaml.js +6 -4
- package/dist/encoding/Yaml.js.map +1 -1
- package/dist/encoding/index.d.ts +4 -0
- package/dist/encoding/index.d.ts.map +1 -1
- package/dist/encoding/index.js +4 -0
- package/dist/encoding/index.js.map +1 -1
- package/dist/eventlog/SqlEventJournal.js +8 -4
- package/dist/eventlog/SqlEventJournal.js.map +1 -1
- package/dist/eventlog/SqlEventLogServerUnencrypted.d.ts +27 -10
- package/dist/eventlog/SqlEventLogServerUnencrypted.d.ts.map +1 -1
- package/dist/eventlog/SqlEventLogServerUnencrypted.js +49 -7
- package/dist/eventlog/SqlEventLogServerUnencrypted.js.map +1 -1
- package/dist/http/Headers.d.ts +3 -1
- package/dist/http/Headers.d.ts.map +1 -1
- package/dist/http/Headers.js +4 -2
- package/dist/http/Headers.js.map +1 -1
- package/dist/http/HttpClient.d.ts +9 -0
- package/dist/http/HttpClient.d.ts.map +1 -1
- package/dist/http/HttpClient.js +40 -21
- package/dist/http/HttpClient.js.map +1 -1
- package/dist/http/HttpClientResponse.js +3 -1
- package/dist/http/HttpClientResponse.js.map +1 -1
- package/dist/http/HttpEffect.d.ts +3 -0
- package/dist/http/HttpEffect.d.ts.map +1 -1
- package/dist/http/HttpEffect.js +5 -2
- package/dist/http/HttpEffect.js.map +1 -1
- package/dist/http/HttpMiddleware.d.ts +17 -0
- package/dist/http/HttpMiddleware.d.ts.map +1 -1
- package/dist/http/HttpMiddleware.js +56 -39
- package/dist/http/HttpMiddleware.js.map +1 -1
- package/dist/http/HttpServer.d.ts +1 -1
- package/dist/http/HttpServer.d.ts.map +1 -1
- package/dist/http/internal/tracing.d.ts +2 -0
- package/dist/http/internal/tracing.d.ts.map +1 -0
- package/dist/http/internal/tracing.js +37 -0
- package/dist/http/internal/tracing.js.map +1 -0
- package/dist/http-api/HttpApiBuilder.js +2 -1
- package/dist/http-api/HttpApiBuilder.js.map +1 -1
- package/dist/http-api/HttpApiClient.d.ts +12 -3
- package/dist/http-api/HttpApiClient.d.ts.map +1 -1
- package/dist/http-api/HttpApiClient.js.map +1 -1
- package/dist/http-api/HttpApiError.d.ts +4 -3
- package/dist/http-api/HttpApiError.d.ts.map +1 -1
- package/dist/http-api/HttpApiError.js +7 -4
- package/dist/http-api/HttpApiError.js.map +1 -1
- package/dist/http-api/HttpApiSecurity.d.ts +8 -8
- package/dist/http-api/HttpApiSecurity.js +8 -8
- package/dist/index.d.ts +155 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +155 -0
- package/dist/index.js.map +1 -1
- package/dist/internal/arbitrary/array.js +3 -3
- package/dist/internal/arbitrary/array.js.map +1 -1
- package/dist/internal/arbitrary/model.js +26 -11
- package/dist/internal/arbitrary/model.js.map +1 -1
- package/dist/internal/arbitrary/runner.js +8 -8
- package/dist/internal/arbitrary/runner.js.map +1 -1
- package/dist/internal/arbitrary/schema.js +4 -5
- package/dist/internal/arbitrary/schema.js.map +1 -1
- package/dist/internal/effect.js +41 -39
- package/dist/internal/effect.js.map +1 -1
- package/dist/internal/schedule.js +7 -5
- package/dist/internal/schedule.js.map +1 -1
- package/dist/internal/schema/standardSchema.js +2 -2
- package/dist/internal/schema/standardSchema.js.map +1 -1
- package/dist/internal/version.d.ts +2 -0
- package/dist/internal/version.d.ts.map +1 -0
- package/dist/internal/version.js +3 -0
- package/dist/internal/version.js.map +1 -0
- package/dist/observability/OtlpExporter.d.ts.map +1 -1
- package/dist/observability/OtlpExporter.js +5 -6
- package/dist/observability/OtlpExporter.js.map +1 -1
- package/dist/observability/OtlpLogger.d.ts.map +1 -1
- package/dist/observability/OtlpLogger.js +23 -27
- package/dist/observability/OtlpLogger.js.map +1 -1
- package/dist/observability/OtlpMetrics.d.ts +5 -3
- package/dist/observability/OtlpMetrics.d.ts.map +1 -1
- package/dist/observability/OtlpMetrics.js +21 -94
- package/dist/observability/OtlpMetrics.js.map +1 -1
- package/dist/observability/OtlpResource.d.ts +4 -3
- package/dist/observability/OtlpResource.d.ts.map +1 -1
- package/dist/observability/OtlpResource.js +20 -23
- package/dist/observability/OtlpResource.js.map +1 -1
- package/dist/observability/OtlpTracer.d.ts +1 -0
- package/dist/observability/OtlpTracer.d.ts.map +1 -1
- package/dist/observability/OtlpTracer.js +32 -36
- package/dist/observability/OtlpTracer.js.map +1 -1
- package/dist/observability/internal/otlpProtobuf.js +32 -1
- package/dist/observability/internal/otlpProtobuf.js.map +1 -1
- package/dist/reactivity/AsyncResult.d.ts +1 -1
- package/dist/reactivity/Atom.d.ts +5 -5
- package/dist/reactivity/Atom.d.ts.map +1 -1
- package/dist/reactivity/Atom.js +9 -5
- package/dist/reactivity/Atom.js.map +1 -1
- package/dist/reactivity/AtomHttpApi.d.ts +2 -2
- package/dist/reactivity/AtomHttpApi.d.ts.map +1 -1
- package/dist/reactivity/AtomRegistry.d.ts +8 -0
- package/dist/reactivity/AtomRegistry.d.ts.map +1 -1
- package/dist/reactivity/AtomRegistry.js.map +1 -1
- package/dist/rpc/RpcClient.d.ts +21 -3
- package/dist/rpc/RpcClient.d.ts.map +1 -1
- package/dist/rpc/RpcClient.js +38 -20
- package/dist/rpc/RpcClient.js.map +1 -1
- package/dist/rpc/RpcServer.d.ts.map +1 -1
- package/dist/rpc/RpcServer.js +18 -21
- package/dist/rpc/RpcServer.js.map +1 -1
- package/dist/rpc/internal/tracing.d.ts +2 -0
- package/dist/rpc/internal/tracing.d.ts.map +1 -0
- package/dist/rpc/internal/tracing.js +18 -0
- package/dist/rpc/internal/tracing.js.map +1 -0
- package/dist/schema/SchemaCompiler/runtime.js +9 -1
- package/dist/schema/SchemaCompiler/runtime.js.map +1 -1
- package/dist/sql/SqlClient.js +4 -4
- package/dist/sql/SqlClient.js.map +1 -1
- package/dist/sql/Statement.d.ts +21 -1
- package/dist/sql/Statement.d.ts.map +1 -1
- package/dist/sql/Statement.js +55 -7
- package/dist/sql/Statement.js.map +1 -1
- package/dist/testing/TestClock.d.ts +8 -0
- package/dist/testing/TestClock.d.ts.map +1 -1
- package/dist/testing/TestClock.js +7 -0
- package/dist/testing/TestClock.js.map +1 -1
- package/dist/testing/TestConsole.d.ts +7 -0
- package/dist/testing/TestConsole.d.ts.map +1 -1
- package/dist/testing/TestConsole.js +6 -0
- package/dist/testing/TestConsole.js.map +1 -1
- package/dist/testing/index.d.ts +3 -0
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +3 -0
- package/dist/testing/index.js.map +1 -1
- package/package.json +3 -3
- package/src/Array.ts +351 -3
- package/src/BigDecimal.ts +88 -0
- package/src/BigInt.ts +68 -0
- package/src/Boolean.ts +34 -0
- package/src/Brand.ts +10 -0
- package/src/ByteSize.ts +87 -0
- package/src/Cache.ts +50 -8
- package/src/Cause.ts +82 -0
- package/src/Channel.ts +368 -18
- package/src/ChannelSchema.ts +13 -0
- package/src/Chunk.ts +193 -0
- package/src/Clock.ts +7 -0
- package/src/Combiner.ts +10 -0
- package/src/Config.ts +82 -8
- package/src/ConfigProvider.ts +28 -0
- package/src/Console.ts +26 -0
- package/src/Context.ts +50 -0
- package/src/Cron.ts +32 -1
- package/src/Crypto.ts +5 -0
- package/src/Data.ts +13 -0
- package/src/DateTime.ts +171 -0
- package/src/Deferred.ts +51 -0
- package/src/Differ.ts +2 -0
- package/src/Duration.ts +90 -0
- package/src/Effect.ts +539 -5
- package/src/Effectable.ts +4 -0
- package/src/Equal.ts +12 -1
- package/src/Equivalence.ts +22 -0
- package/src/ErrorReporter.ts +36 -0
- package/src/ExecutionPlan.ts +58 -14
- package/src/Exit.ts +40 -0
- package/src/Fiber.ts +20 -0
- package/src/FiberHandle.ts +29 -4
- package/src/FiberMap.ts +38 -0
- package/src/FiberSet.ts +21 -0
- package/src/FileSystem.ts +16 -0
- package/src/Filter.ts +55 -0
- package/src/Formatter.ts +42 -1
- package/src/Function.ts +30 -0
- package/src/Graph.ts +317 -36
- package/src/HKT.ts +5 -0
- package/src/Hash.ts +15 -0
- package/src/HashMap.ts +91 -0
- package/src/HashRing.ts +18 -0
- package/src/HashSet.ts +53 -0
- package/src/Inspectable.ts +8 -0
- package/src/Iterable.ts +127 -0
- package/src/JsonPatch.ts +5 -0
- package/src/JsonPointer.ts +5 -0
- package/src/JsonSchema.ts +17 -0
- package/src/Latch.ts +14 -0
- package/src/Layer.ts +101 -1
- package/src/LayerMap.ts +7 -0
- package/src/LayerRef.ts +5 -0
- package/src/LogLevel.ts +20 -0
- package/src/Logger.ts +41 -5
- package/src/ManagedRuntime.ts +12 -1
- package/src/Match.ts +52 -0
- package/src/Metric.ts +69 -0
- package/src/MutableHashMap.ts +44 -0
- package/src/MutableHashSet.ts +17 -0
- package/src/MutableList.ts +21 -0
- package/src/MutableRef.ts +32 -0
- package/src/Newtype.ts +9 -0
- package/src/NonEmptyIterable.ts +4 -0
- package/src/Number.ts +61 -0
- package/src/Optic.ts +57 -0
- package/src/Option.ts +134 -0
- package/src/Order.ts +30 -0
- package/src/Ordering.ts +7 -0
- package/src/PartitionedSemaphore.ts +61 -22
- package/src/Path.ts +6 -0
- package/src/Pipeable.ts +7 -0
- package/src/PlatformError.ts +8 -0
- package/src/Pool.ts +20 -1
- package/src/Predicate.ts +85 -0
- package/src/PrimaryKey.ts +5 -0
- package/src/PubSub.ts +90 -9
- package/src/Pull.ts +20 -0
- package/src/Queue.ts +80 -10
- package/src/Random.ts +13 -0
- package/src/RcMap.ts +23 -0
- package/src/RcRef.ts +6 -0
- package/src/Record.ts +100 -0
- package/src/Redactable.ts +6 -0
- package/src/Redacted.ts +8 -0
- package/src/Reducer.ts +4 -0
- package/src/Ref.ts +42 -0
- package/src/References.ts +21 -0
- package/src/RegExp.ts +4 -0
- package/src/Request.ts +32 -0
- package/src/RequestResolver.ts +59 -10
- package/src/Resource.ts +7 -0
- package/src/Result.ts +93 -0
- package/src/Runtime.ts +10 -0
- package/src/Schedule.ts +61 -0
- package/src/Scheduler.ts +7 -0
- package/src/Schema.ts +499 -4
- package/src/SchemaAST.ts +115 -1
- package/src/SchemaGetter.ts +80 -4
- package/src/SchemaIssue.ts +34 -0
- package/src/SchemaParser.ts +26 -0
- package/src/SchemaRepresentation.ts +148 -0
- package/src/SchemaTransformation.ts +53 -0
- package/src/Scope.ts +19 -0
- package/src/ScopedCache.ts +55 -3
- package/src/ScopedRef.ts +9 -0
- package/src/Semaphore.ts +26 -0
- package/src/Sink.ts +126 -2
- package/src/StandardSchema.ts +1 -0
- package/src/Stdio.ts +7 -0
- package/src/Stream.ts +622 -15
- package/src/String.ts +87 -0
- package/src/Struct.ts +46 -0
- package/src/SubscriptionRef.ts +65 -0
- package/src/Symbol.ts +2 -0
- package/src/SynchronizedRef.ts +63 -0
- package/src/Take.ts +3 -0
- package/src/Terminal.ts +8 -0
- package/src/Tracer.ts +23 -0
- package/src/Trie.ts +68 -0
- package/src/Tuple.ts +38 -0
- package/src/TxChunk.ts +52 -0
- package/src/TxDeferred.ts +15 -0
- package/src/TxHashMap.ts +97 -6
- package/src/TxHashSet.ts +83 -3
- package/src/TxPriorityQueue.ts +34 -2
- package/src/TxPubSub.ts +26 -0
- package/src/TxQueue.ts +51 -0
- package/src/TxReentrantLock.ts +53 -36
- package/src/TxRef.ts +14 -0
- package/src/TxSemaphore.ts +47 -31
- package/src/TxSubscriptionRef.ts +25 -0
- package/src/Types.ts +36 -0
- package/src/UndefinedOr.ts +15 -0
- package/src/Unify.ts +15 -0
- package/src/Utils.ts +4 -0
- package/src/Version.ts +38 -0
- package/src/ai/Chat.ts +1 -1
- package/src/ai/DecisionModel.ts +42 -1
- package/src/ai/LanguageModel.ts +16 -19
- package/src/ai/McpServer.ts +107 -36
- package/src/ai/Telemetry.ts +62 -58
- package/src/ai/internal/mcpRuntime.ts +84 -43
- package/src/ai/internal/mcpStatefulRuntime.ts +2 -0
- package/src/cluster/K8sHttpClient.ts +12 -2
- package/src/encoding/Base64.ts +4 -0
- package/src/encoding/Base64Url.ts +4 -0
- package/src/encoding/EncodingError.ts +5 -0
- package/src/encoding/Hex.ts +5 -0
- package/src/encoding/Toml.ts +2 -2
- package/src/encoding/Yaml.ts +8 -4
- package/src/encoding/index.ts +4 -0
- package/src/eventlog/SqlEventJournal.ts +18 -4
- package/src/eventlog/SqlEventLogServerUnencrypted.ts +282 -235
- package/src/http/Headers.ts +8 -2
- package/src/http/HttpClient.ts +44 -27
- package/src/http/HttpClientResponse.ts +3 -1
- package/src/http/HttpEffect.ts +11 -2
- package/src/http/HttpMiddleware.ts +60 -45
- package/src/http/HttpServer.ts +1 -1
- package/src/http/internal/tracing.ts +52 -0
- package/src/http-api/HttpApiBuilder.ts +5 -1
- package/src/http-api/HttpApiClient.ts +13 -4
- package/src/http-api/HttpApiError.ts +8 -4
- package/src/http-api/HttpApiSecurity.ts +8 -8
- package/src/index.ts +156 -0
- package/src/internal/arbitrary/array.ts +3 -3
- package/src/internal/arbitrary/model.ts +37 -14
- package/src/internal/arbitrary/runner.ts +7 -7
- package/src/internal/arbitrary/schema.ts +4 -3
- package/src/internal/effect.ts +47 -45
- package/src/internal/schedule.ts +23 -17
- package/src/internal/schema/standardSchema.ts +2 -2
- package/src/internal/version.ts +2 -0
- package/src/observability/OtlpExporter.ts +9 -6
- package/src/observability/OtlpLogger.ts +20 -21
- package/src/observability/OtlpMetrics.ts +34 -93
- package/src/observability/OtlpResource.ts +18 -27
- package/src/observability/OtlpTracer.ts +34 -40
- package/src/observability/internal/otlpProtobuf.ts +60 -0
- package/src/reactivity/AsyncResult.ts +1 -1
- package/src/reactivity/Atom.ts +10 -6
- package/src/reactivity/AtomHttpApi.ts +2 -4
- package/src/reactivity/AtomRegistry.ts +7 -0
- package/src/rpc/RpcClient.ts +48 -24
- package/src/rpc/RpcServer.ts +26 -24
- package/src/rpc/internal/tracing.ts +22 -0
- package/src/schema/SchemaCompiler/runtime.ts +4 -1
- package/src/sql/SqlClient.ts +4 -4
- package/src/sql/Statement.ts +59 -7
- package/src/testing/TestClock.ts +9 -0
- package/src/testing/TestConsole.ts +8 -0
- package/src/testing/index.ts +3 -0
package/dist/Array.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ import type { NoInfer, TupleOf } from "./Types.ts";
|
|
|
24
24
|
* Array.Array === globalThis.Array // => true
|
|
25
25
|
* ```
|
|
26
26
|
*
|
|
27
|
+
* @stability stable
|
|
27
28
|
* @category constructors
|
|
28
29
|
* @since 4.0.0
|
|
29
30
|
*/
|
|
@@ -31,6 +32,7 @@ export declare const Array: ArrayConstructor;
|
|
|
31
32
|
/**
|
|
32
33
|
* Type lambda for `ReadonlyArray`, used for higher-kinded type operations.
|
|
33
34
|
*
|
|
35
|
+
* @stability stable
|
|
34
36
|
* @category utility types
|
|
35
37
|
* @since 2.0.0
|
|
36
38
|
*/
|
|
@@ -59,6 +61,7 @@ export interface ReadonlyArrayTypeLambda extends TypeLambda {
|
|
|
59
61
|
* @see {@link NonEmptyArray} — mutable counterpart
|
|
60
62
|
* @see {@link isReadonlyArrayNonEmpty} — narrow a `ReadonlyArray` to this type
|
|
61
63
|
*
|
|
64
|
+
* @stability stable
|
|
62
65
|
* @category models
|
|
63
66
|
* @since 2.0.0
|
|
64
67
|
*/
|
|
@@ -91,6 +94,7 @@ export type NonEmptyReadonlyArray<A> = readonly [A, ...Array<A>];
|
|
|
91
94
|
* @see {@link NonEmptyReadonlyArray} — readonly counterpart
|
|
92
95
|
* @see {@link isArrayNonEmpty} — narrow an `Array` to this type
|
|
93
96
|
*
|
|
97
|
+
* @stability stable
|
|
94
98
|
* @category models
|
|
95
99
|
* @since 2.0.0
|
|
96
100
|
*/
|
|
@@ -118,6 +122,7 @@ export type NonEmptyArray<A> = [A, ...Array<A>];
|
|
|
118
122
|
* @see {@link of} — create a single-element array
|
|
119
123
|
* @see {@link fromIterable} — create from any iterable
|
|
120
124
|
*
|
|
125
|
+
* @stability stable
|
|
121
126
|
* @category constructors
|
|
122
127
|
* @since 2.0.0
|
|
123
128
|
*/
|
|
@@ -144,6 +149,7 @@ export declare const make: <Elements extends NonEmptyArray<unknown>>(...elements
|
|
|
144
149
|
*
|
|
145
150
|
* @see {@link makeBy} — create an array by computing each element
|
|
146
151
|
*
|
|
152
|
+
* @stability stable
|
|
147
153
|
* @category constructors
|
|
148
154
|
* @since 2.0.0
|
|
149
155
|
*/
|
|
@@ -172,6 +178,7 @@ export declare const allocate: <A = never>(n: number) => Array<A | undefined>;
|
|
|
172
178
|
* @see {@link range} — create a range of integers
|
|
173
179
|
* @see {@link replicate} — repeat a single value
|
|
174
180
|
*
|
|
181
|
+
* @stability stable
|
|
175
182
|
* @category constructors
|
|
176
183
|
* @since 2.0.0
|
|
177
184
|
*/
|
|
@@ -200,6 +207,7 @@ export declare const makeBy: {
|
|
|
200
207
|
* @see {@link range} — create a range of integers
|
|
201
208
|
* @see {@link replicate} — repeat a single value
|
|
202
209
|
*
|
|
210
|
+
* @stability stable
|
|
203
211
|
* @category constructors
|
|
204
212
|
* @since 2.0.0
|
|
205
213
|
*/
|
|
@@ -228,6 +236,7 @@ export declare const makeBy: {
|
|
|
228
236
|
* @see {@link range} — create a range of integers
|
|
229
237
|
* @see {@link replicate} — repeat a single value
|
|
230
238
|
*
|
|
239
|
+
* @stability stable
|
|
231
240
|
* @category constructors
|
|
232
241
|
* @since 2.0.0
|
|
233
242
|
*/
|
|
@@ -255,6 +264,7 @@ export declare const makeBy: {
|
|
|
255
264
|
*
|
|
256
265
|
* @see {@link makeBy} — generate values from a function
|
|
257
266
|
*
|
|
267
|
+
* @stability stable
|
|
258
268
|
* @category constructors
|
|
259
269
|
* @since 2.0.0
|
|
260
270
|
*/
|
|
@@ -282,6 +292,7 @@ export declare const range: (start: number, end: number) => NonEmptyArray<number
|
|
|
282
292
|
*
|
|
283
293
|
* @see {@link makeBy} — vary values based on index
|
|
284
294
|
*
|
|
295
|
+
* @stability stable
|
|
285
296
|
* @category constructors
|
|
286
297
|
* @since 2.0.0
|
|
287
298
|
*/
|
|
@@ -309,6 +320,7 @@ export declare const replicate: {
|
|
|
309
320
|
*
|
|
310
321
|
* @see {@link makeBy} — vary values based on index
|
|
311
322
|
*
|
|
323
|
+
* @stability stable
|
|
312
324
|
* @category constructors
|
|
313
325
|
* @since 2.0.0
|
|
314
326
|
*/
|
|
@@ -336,6 +348,7 @@ export declare const replicate: {
|
|
|
336
348
|
*
|
|
337
349
|
* @see {@link makeBy} — vary values based on index
|
|
338
350
|
*
|
|
351
|
+
* @stability stable
|
|
339
352
|
* @category constructors
|
|
340
353
|
* @since 2.0.0
|
|
341
354
|
*/
|
|
@@ -365,6 +378,7 @@ export declare const replicate: {
|
|
|
365
378
|
* @see {@link ensure} — wrap a single value or return an existing array
|
|
366
379
|
* @see {@link copy} — create a shallow copy of an array
|
|
367
380
|
*
|
|
381
|
+
* @stability stable
|
|
368
382
|
* @category constructors
|
|
369
383
|
* @since 2.0.0
|
|
370
384
|
*/
|
|
@@ -395,6 +409,7 @@ export declare const fromIterable: <A>(collection: Iterable<A>) => Array<A>;
|
|
|
395
409
|
* @see {@link of} — always wrap in a single-element array
|
|
396
410
|
* @see {@link fromIterable} — convert any iterable
|
|
397
411
|
*
|
|
412
|
+
* @stability stable
|
|
398
413
|
* @category constructors
|
|
399
414
|
* @since 3.3.0
|
|
400
415
|
*/
|
|
@@ -423,6 +438,7 @@ export declare const ensure: <A>(self: ReadonlyArray<A> | A) => Array<A>;
|
|
|
423
438
|
* @see {@link Record.toEntries} the equivalent function from the Record module
|
|
424
439
|
* @see {@link Record.fromEntries} to build a record from an array of tuples
|
|
425
440
|
*
|
|
441
|
+
* @stability stable
|
|
426
442
|
* @category converting
|
|
427
443
|
* @since 2.0.0
|
|
428
444
|
*/
|
|
@@ -445,6 +461,7 @@ export declare const fromRecord: <K extends string, A>(self: Readonly<Record<K,
|
|
|
445
461
|
*
|
|
446
462
|
* @see {@link getSomes} — extract `Some` values from an array of Options
|
|
447
463
|
*
|
|
464
|
+
* @stability stable
|
|
448
465
|
* @category converting
|
|
449
466
|
* @since 2.0.0
|
|
450
467
|
*/
|
|
@@ -478,6 +495,7 @@ export declare const fromOption: <A>(self: Option.Option<A>) => Array<A>;
|
|
|
478
495
|
* @see {@link matchLeft} — destructures into head + tail
|
|
479
496
|
* @see {@link matchRight} — destructures into init + last
|
|
480
497
|
*
|
|
498
|
+
* @stability stable
|
|
481
499
|
* @category pattern matching
|
|
482
500
|
* @since 2.0.0
|
|
483
501
|
*/
|
|
@@ -511,6 +529,7 @@ export declare const match: {
|
|
|
511
529
|
* @see {@link matchLeft} — destructures into head + tail
|
|
512
530
|
* @see {@link matchRight} — destructures into init + last
|
|
513
531
|
*
|
|
532
|
+
* @stability stable
|
|
514
533
|
* @category pattern matching
|
|
515
534
|
* @since 2.0.0
|
|
516
535
|
*/
|
|
@@ -547,6 +566,7 @@ export declare const match: {
|
|
|
547
566
|
* @see {@link matchLeft} — destructures into head + tail
|
|
548
567
|
* @see {@link matchRight} — destructures into init + last
|
|
549
568
|
*
|
|
569
|
+
* @stability stable
|
|
550
570
|
* @category pattern matching
|
|
551
571
|
* @since 2.0.0
|
|
552
572
|
*/
|
|
@@ -585,6 +605,7 @@ export declare const match: {
|
|
|
585
605
|
* @see {@link match} — receives the full non-empty array
|
|
586
606
|
* @see {@link matchRight} — destructures into init + last
|
|
587
607
|
*
|
|
608
|
+
* @stability stable
|
|
588
609
|
* @category pattern matching
|
|
589
610
|
* @since 2.0.0
|
|
590
611
|
*/
|
|
@@ -619,6 +640,7 @@ export declare const matchLeft: {
|
|
|
619
640
|
* @see {@link match} — receives the full non-empty array
|
|
620
641
|
* @see {@link matchRight} — destructures into init + last
|
|
621
642
|
*
|
|
643
|
+
* @stability stable
|
|
622
644
|
* @category pattern matching
|
|
623
645
|
* @since 2.0.0
|
|
624
646
|
*/
|
|
@@ -656,6 +678,7 @@ export declare const matchLeft: {
|
|
|
656
678
|
* @see {@link match} — receives the full non-empty array
|
|
657
679
|
* @see {@link matchRight} — destructures into init + last
|
|
658
680
|
*
|
|
681
|
+
* @stability stable
|
|
659
682
|
* @category pattern matching
|
|
660
683
|
* @since 2.0.0
|
|
661
684
|
*/
|
|
@@ -694,6 +717,7 @@ export declare const matchLeft: {
|
|
|
694
717
|
* @see {@link match} — receives the full non-empty array
|
|
695
718
|
* @see {@link matchLeft} — destructures into head + tail
|
|
696
719
|
*
|
|
720
|
+
* @stability stable
|
|
697
721
|
* @category pattern matching
|
|
698
722
|
* @since 2.0.0
|
|
699
723
|
*/
|
|
@@ -728,6 +752,7 @@ export declare const matchRight: {
|
|
|
728
752
|
* @see {@link match} — receives the full non-empty array
|
|
729
753
|
* @see {@link matchLeft} — destructures into head + tail
|
|
730
754
|
*
|
|
755
|
+
* @stability stable
|
|
731
756
|
* @category pattern matching
|
|
732
757
|
* @since 2.0.0
|
|
733
758
|
*/
|
|
@@ -765,6 +790,7 @@ export declare const matchRight: {
|
|
|
765
790
|
* @see {@link match} — receives the full non-empty array
|
|
766
791
|
* @see {@link matchLeft} — destructures into head + tail
|
|
767
792
|
*
|
|
793
|
+
* @stability stable
|
|
768
794
|
* @category pattern matching
|
|
769
795
|
* @since 2.0.0
|
|
770
796
|
*/
|
|
@@ -792,6 +818,7 @@ export declare const matchRight: {
|
|
|
792
818
|
* @see {@link append} — add to the end
|
|
793
819
|
* @see {@link prependAll} — prepend multiple elements
|
|
794
820
|
*
|
|
821
|
+
* @stability stable
|
|
795
822
|
* @category combining
|
|
796
823
|
* @since 2.0.0
|
|
797
824
|
*/
|
|
@@ -815,6 +842,7 @@ export declare const prepend: {
|
|
|
815
842
|
* @see {@link append} — add to the end
|
|
816
843
|
* @see {@link prependAll} — prepend multiple elements
|
|
817
844
|
*
|
|
845
|
+
* @stability stable
|
|
818
846
|
* @category combining
|
|
819
847
|
* @since 2.0.0
|
|
820
848
|
*/
|
|
@@ -838,6 +866,7 @@ export declare const prepend: {
|
|
|
838
866
|
* @see {@link append} — add to the end
|
|
839
867
|
* @see {@link prependAll} — prepend multiple elements
|
|
840
868
|
*
|
|
869
|
+
* @stability stable
|
|
841
870
|
* @category combining
|
|
842
871
|
* @since 2.0.0
|
|
843
872
|
*/
|
|
@@ -865,6 +894,7 @@ export declare const prepend: {
|
|
|
865
894
|
* @see {@link prepend} — add a single element to the front
|
|
866
895
|
* @see {@link appendAll} — add elements to the end
|
|
867
896
|
*
|
|
897
|
+
* @stability stable
|
|
868
898
|
* @category combining
|
|
869
899
|
* @since 2.0.0
|
|
870
900
|
*/
|
|
@@ -891,6 +921,7 @@ export declare const prependAll: {
|
|
|
891
921
|
* @see {@link prepend} — add a single element to the front
|
|
892
922
|
* @see {@link appendAll} — add elements to the end
|
|
893
923
|
*
|
|
924
|
+
* @stability stable
|
|
894
925
|
* @category combining
|
|
895
926
|
* @since 2.0.0
|
|
896
927
|
*/
|
|
@@ -917,6 +948,7 @@ export declare const prependAll: {
|
|
|
917
948
|
* @see {@link prepend} — add a single element to the front
|
|
918
949
|
* @see {@link appendAll} — add elements to the end
|
|
919
950
|
*
|
|
951
|
+
* @stability stable
|
|
920
952
|
* @category combining
|
|
921
953
|
* @since 2.0.0
|
|
922
954
|
*/
|
|
@@ -943,6 +975,7 @@ export declare const prependAll: {
|
|
|
943
975
|
* @see {@link prepend} — add a single element to the front
|
|
944
976
|
* @see {@link appendAll} — add elements to the end
|
|
945
977
|
*
|
|
978
|
+
* @stability stable
|
|
946
979
|
* @category combining
|
|
947
980
|
* @since 2.0.0
|
|
948
981
|
*/
|
|
@@ -969,6 +1002,7 @@ export declare const prependAll: {
|
|
|
969
1002
|
* @see {@link prepend} — add a single element to the front
|
|
970
1003
|
* @see {@link appendAll} — add elements to the end
|
|
971
1004
|
*
|
|
1005
|
+
* @stability stable
|
|
972
1006
|
* @category combining
|
|
973
1007
|
* @since 2.0.0
|
|
974
1008
|
*/
|
|
@@ -993,6 +1027,7 @@ export declare const prependAll: {
|
|
|
993
1027
|
* @see {@link prepend} — add to the front
|
|
994
1028
|
* @see {@link appendAll} — append multiple elements
|
|
995
1029
|
*
|
|
1030
|
+
* @stability stable
|
|
996
1031
|
* @category combining
|
|
997
1032
|
* @since 2.0.0
|
|
998
1033
|
*/
|
|
@@ -1016,6 +1051,7 @@ export declare const append: {
|
|
|
1016
1051
|
* @see {@link prepend} — add to the front
|
|
1017
1052
|
* @see {@link appendAll} — append multiple elements
|
|
1018
1053
|
*
|
|
1054
|
+
* @stability stable
|
|
1019
1055
|
* @category combining
|
|
1020
1056
|
* @since 2.0.0
|
|
1021
1057
|
*/
|
|
@@ -1039,6 +1075,7 @@ export declare const append: {
|
|
|
1039
1075
|
* @see {@link prepend} — add to the front
|
|
1040
1076
|
* @see {@link appendAll} — append multiple elements
|
|
1041
1077
|
*
|
|
1078
|
+
* @stability stable
|
|
1042
1079
|
* @category combining
|
|
1043
1080
|
* @since 2.0.0
|
|
1044
1081
|
*/
|
|
@@ -1067,6 +1104,7 @@ export declare const append: {
|
|
|
1067
1104
|
* @see {@link append} — add a single element to the end
|
|
1068
1105
|
* @see {@link prependAll} — add elements to the front
|
|
1069
1106
|
*
|
|
1107
|
+
* @stability stable
|
|
1070
1108
|
* @category combining
|
|
1071
1109
|
* @since 2.0.0
|
|
1072
1110
|
*/
|
|
@@ -1094,6 +1132,7 @@ export declare const appendAll: {
|
|
|
1094
1132
|
* @see {@link append} — add a single element to the end
|
|
1095
1133
|
* @see {@link prependAll} — add elements to the front
|
|
1096
1134
|
*
|
|
1135
|
+
* @stability stable
|
|
1097
1136
|
* @category combining
|
|
1098
1137
|
* @since 2.0.0
|
|
1099
1138
|
*/
|
|
@@ -1121,6 +1160,7 @@ export declare const appendAll: {
|
|
|
1121
1160
|
* @see {@link append} — add a single element to the end
|
|
1122
1161
|
* @see {@link prependAll} — add elements to the front
|
|
1123
1162
|
*
|
|
1163
|
+
* @stability stable
|
|
1124
1164
|
* @category combining
|
|
1125
1165
|
* @since 2.0.0
|
|
1126
1166
|
*/
|
|
@@ -1148,6 +1188,7 @@ export declare const appendAll: {
|
|
|
1148
1188
|
* @see {@link append} — add a single element to the end
|
|
1149
1189
|
* @see {@link prependAll} — add elements to the front
|
|
1150
1190
|
*
|
|
1191
|
+
* @stability stable
|
|
1151
1192
|
* @category combining
|
|
1152
1193
|
* @since 2.0.0
|
|
1153
1194
|
*/
|
|
@@ -1175,6 +1216,7 @@ export declare const appendAll: {
|
|
|
1175
1216
|
* @see {@link append} — add a single element to the end
|
|
1176
1217
|
* @see {@link prependAll} — add elements to the front
|
|
1177
1218
|
*
|
|
1219
|
+
* @stability stable
|
|
1178
1220
|
* @category combining
|
|
1179
1221
|
* @since 2.0.0
|
|
1180
1222
|
*/
|
|
@@ -1204,6 +1246,7 @@ export declare const appendAll: {
|
|
|
1204
1246
|
* @see {@link scanRight} — right-to-left scan
|
|
1205
1247
|
* @see {@link reduce} — fold without intermediate values
|
|
1206
1248
|
*
|
|
1249
|
+
* @stability stable
|
|
1207
1250
|
* @category folding
|
|
1208
1251
|
* @since 2.0.0
|
|
1209
1252
|
*/
|
|
@@ -1232,6 +1275,7 @@ export declare const scan: {
|
|
|
1232
1275
|
* @see {@link scanRight} — right-to-left scan
|
|
1233
1276
|
* @see {@link reduce} — fold without intermediate values
|
|
1234
1277
|
*
|
|
1278
|
+
* @stability stable
|
|
1235
1279
|
* @category folding
|
|
1236
1280
|
* @since 2.0.0
|
|
1237
1281
|
*/
|
|
@@ -1260,6 +1304,7 @@ export declare const scan: {
|
|
|
1260
1304
|
* @see {@link scanRight} — right-to-left scan
|
|
1261
1305
|
* @see {@link reduce} — fold without intermediate values
|
|
1262
1306
|
*
|
|
1307
|
+
* @stability stable
|
|
1263
1308
|
* @category folding
|
|
1264
1309
|
* @since 2.0.0
|
|
1265
1310
|
*/
|
|
@@ -1289,6 +1334,7 @@ export declare const scan: {
|
|
|
1289
1334
|
* @see {@link scan} — left-to-right scan
|
|
1290
1335
|
* @see {@link reduceRight} — fold without intermediate values
|
|
1291
1336
|
*
|
|
1337
|
+
* @stability stable
|
|
1292
1338
|
* @category folding
|
|
1293
1339
|
* @since 2.0.0
|
|
1294
1340
|
*/
|
|
@@ -1317,6 +1363,7 @@ export declare const scanRight: {
|
|
|
1317
1363
|
* @see {@link scan} — left-to-right scan
|
|
1318
1364
|
* @see {@link reduceRight} — fold without intermediate values
|
|
1319
1365
|
*
|
|
1366
|
+
* @stability stable
|
|
1320
1367
|
* @category folding
|
|
1321
1368
|
* @since 2.0.0
|
|
1322
1369
|
*/
|
|
@@ -1345,6 +1392,7 @@ export declare const scanRight: {
|
|
|
1345
1392
|
* @see {@link scan} — left-to-right scan
|
|
1346
1393
|
* @see {@link reduceRight} — fold without intermediate values
|
|
1347
1394
|
*
|
|
1395
|
+
* @stability stable
|
|
1348
1396
|
* @category folding
|
|
1349
1397
|
* @since 2.0.0
|
|
1350
1398
|
*/
|
|
@@ -1374,6 +1422,7 @@ export declare const scanRight: {
|
|
|
1374
1422
|
* @see {@link isArrayEmpty} — check for an empty array
|
|
1375
1423
|
* @see {@link isArrayNonEmpty} — check for a non-empty array
|
|
1376
1424
|
*
|
|
1425
|
+
* @stability stable
|
|
1377
1426
|
* @category guards
|
|
1378
1427
|
* @since 2.0.0
|
|
1379
1428
|
*/
|
|
@@ -1402,6 +1451,7 @@ export declare const isArray: {
|
|
|
1402
1451
|
* @see {@link isArrayEmpty} — check for an empty array
|
|
1403
1452
|
* @see {@link isArrayNonEmpty} — check for a non-empty array
|
|
1404
1453
|
*
|
|
1454
|
+
* @stability stable
|
|
1405
1455
|
* @category guards
|
|
1406
1456
|
* @since 2.0.0
|
|
1407
1457
|
*/
|
|
@@ -1430,6 +1480,7 @@ export declare const isArray: {
|
|
|
1430
1480
|
* @see {@link isArrayEmpty} — check for an empty array
|
|
1431
1481
|
* @see {@link isArrayNonEmpty} — check for a non-empty array
|
|
1432
1482
|
*
|
|
1483
|
+
* @stability stable
|
|
1433
1484
|
* @category guards
|
|
1434
1485
|
* @since 2.0.0
|
|
1435
1486
|
*/
|
|
@@ -1450,6 +1501,7 @@ export declare const isArray: {
|
|
|
1450
1501
|
* @see {@link isReadonlyArrayEmpty} — readonly variant
|
|
1451
1502
|
* @see {@link isArrayNonEmpty} — opposite check
|
|
1452
1503
|
*
|
|
1504
|
+
* @stability stable
|
|
1453
1505
|
* @category guards
|
|
1454
1506
|
* @since 4.0.0
|
|
1455
1507
|
*/
|
|
@@ -1469,6 +1521,7 @@ export declare const isArrayEmpty: <A>(self: Array<A>) => self is [];
|
|
|
1469
1521
|
* @see {@link isArrayEmpty} — mutable variant
|
|
1470
1522
|
* @see {@link isReadonlyArrayNonEmpty} — opposite check
|
|
1471
1523
|
*
|
|
1524
|
+
* @stability stable
|
|
1472
1525
|
* @category guards
|
|
1473
1526
|
* @since 4.0.0
|
|
1474
1527
|
*/
|
|
@@ -1494,6 +1547,7 @@ export declare const isReadonlyArrayEmpty: <A>(self: ReadonlyArray<A>) => self i
|
|
|
1494
1547
|
* @see {@link isReadonlyArrayNonEmpty} — readonly variant
|
|
1495
1548
|
* @see {@link isArrayEmpty} — opposite check
|
|
1496
1549
|
*
|
|
1550
|
+
* @stability stable
|
|
1497
1551
|
* @category guards
|
|
1498
1552
|
* @since 4.0.0
|
|
1499
1553
|
*/
|
|
@@ -1519,6 +1573,7 @@ export declare const isArrayNonEmpty: <A>(self: Array<A>) => self is NonEmptyArr
|
|
|
1519
1573
|
* @see {@link isArrayNonEmpty} — mutable variant
|
|
1520
1574
|
* @see {@link isReadonlyArrayEmpty} — opposite check
|
|
1521
1575
|
*
|
|
1576
|
+
* @stability stable
|
|
1522
1577
|
* @category guards
|
|
1523
1578
|
* @since 4.0.0
|
|
1524
1579
|
*/
|
|
@@ -1538,6 +1593,7 @@ export declare const isReadonlyArrayNonEmpty: <A>(self: ReadonlyArray<A>) => sel
|
|
|
1538
1593
|
* Array.length([1, 2, 3]) // => 3
|
|
1539
1594
|
* ```
|
|
1540
1595
|
*
|
|
1596
|
+
* @stability stable
|
|
1541
1597
|
* @category getters
|
|
1542
1598
|
* @since 2.0.0
|
|
1543
1599
|
*/
|
|
@@ -1568,6 +1624,7 @@ export declare const length: <A>(self: ReadonlyArray<A>) => number;
|
|
|
1568
1624
|
* @see {@link head} for reading the first element as an `Option`
|
|
1569
1625
|
* @see {@link last} for reading the last element as an `Option`
|
|
1570
1626
|
*
|
|
1627
|
+
* @stability stable
|
|
1571
1628
|
* @category getters
|
|
1572
1629
|
* @since 2.0.0
|
|
1573
1630
|
*/
|
|
@@ -1598,6 +1655,7 @@ export declare const get: {
|
|
|
1598
1655
|
* @see {@link head} for reading the first element as an `Option`
|
|
1599
1656
|
* @see {@link last} for reading the last element as an `Option`
|
|
1600
1657
|
*
|
|
1658
|
+
* @stability stable
|
|
1601
1659
|
* @category getters
|
|
1602
1660
|
* @since 2.0.0
|
|
1603
1661
|
*/
|
|
@@ -1628,6 +1686,7 @@ export declare const get: {
|
|
|
1628
1686
|
* @see {@link head} for reading the first element as an `Option`
|
|
1629
1687
|
* @see {@link last} for reading the last element as an `Option`
|
|
1630
1688
|
*
|
|
1689
|
+
* @stability stable
|
|
1631
1690
|
* @category getters
|
|
1632
1691
|
* @since 2.0.0
|
|
1633
1692
|
*/
|
|
@@ -1657,6 +1716,7 @@ export declare const get: {
|
|
|
1657
1716
|
*
|
|
1658
1717
|
* @see {@link get} — safe version returning `Option`
|
|
1659
1718
|
*
|
|
1719
|
+
* @stability stable
|
|
1660
1720
|
* @category unsafe
|
|
1661
1721
|
* @since 4.0.0
|
|
1662
1722
|
*/
|
|
@@ -1685,6 +1745,7 @@ export declare const getUnsafe: {
|
|
|
1685
1745
|
*
|
|
1686
1746
|
* @see {@link get} — safe version returning `Option`
|
|
1687
1747
|
*
|
|
1748
|
+
* @stability stable
|
|
1688
1749
|
* @category unsafe
|
|
1689
1750
|
* @since 4.0.0
|
|
1690
1751
|
*/
|
|
@@ -1713,6 +1774,7 @@ export declare const getUnsafe: {
|
|
|
1713
1774
|
*
|
|
1714
1775
|
* @see {@link get} — safe version returning `Option`
|
|
1715
1776
|
*
|
|
1777
|
+
* @stability stable
|
|
1716
1778
|
* @category unsafe
|
|
1717
1779
|
* @since 4.0.0
|
|
1718
1780
|
*/
|
|
@@ -1742,6 +1804,7 @@ export declare const getUnsafe: {
|
|
|
1742
1804
|
* @see {@link headNonEmpty} for getting only the first element
|
|
1743
1805
|
* @see {@link tailNonEmpty} for getting only the elements after the first
|
|
1744
1806
|
*
|
|
1807
|
+
* @stability stable
|
|
1745
1808
|
* @category splitting
|
|
1746
1809
|
* @since 2.0.0
|
|
1747
1810
|
*/
|
|
@@ -1771,6 +1834,7 @@ export declare const unprepend: <A>(self: NonEmptyReadonlyArray<A>) => [firstEle
|
|
|
1771
1834
|
* @see {@link initNonEmpty} for getting only the elements before the last
|
|
1772
1835
|
* @see {@link lastNonEmpty} for getting only the last element
|
|
1773
1836
|
*
|
|
1837
|
+
* @stability stable
|
|
1774
1838
|
* @category splitting
|
|
1775
1839
|
* @since 2.0.0
|
|
1776
1840
|
*/
|
|
@@ -1795,6 +1859,7 @@ export declare const unappend: <A>(self: NonEmptyReadonlyArray<A>) => [arrayWith
|
|
|
1795
1859
|
* @see {@link headNonEmpty} — direct access when array is known non-empty
|
|
1796
1860
|
* @see {@link last} — get the last element
|
|
1797
1861
|
*
|
|
1862
|
+
* @stability stable
|
|
1798
1863
|
* @category getters
|
|
1799
1864
|
* @since 2.0.0
|
|
1800
1865
|
*/
|
|
@@ -1818,6 +1883,7 @@ export declare const head: <A>(self: ReadonlyArray<A>) => Option.Option<A>;
|
|
|
1818
1883
|
*
|
|
1819
1884
|
* @see {@link head} — safe version for possibly-empty arrays
|
|
1820
1885
|
*
|
|
1886
|
+
* @stability stable
|
|
1821
1887
|
* @category getters
|
|
1822
1888
|
* @since 2.0.0
|
|
1823
1889
|
*/
|
|
@@ -1842,6 +1908,7 @@ export declare const headNonEmpty: <A>(self: NonEmptyReadonlyArray<A>) => A;
|
|
|
1842
1908
|
* @see {@link lastNonEmpty} — direct access when array is known non-empty
|
|
1843
1909
|
* @see {@link head} — get the first element
|
|
1844
1910
|
*
|
|
1911
|
+
* @stability stable
|
|
1845
1912
|
* @category getters
|
|
1846
1913
|
* @since 2.0.0
|
|
1847
1914
|
*/
|
|
@@ -1865,6 +1932,7 @@ export declare const last: <A>(self: ReadonlyArray<A>) => Option.Option<A>;
|
|
|
1865
1932
|
*
|
|
1866
1933
|
* @see {@link last} — safe version for possibly-empty arrays
|
|
1867
1934
|
*
|
|
1935
|
+
* @stability stable
|
|
1868
1936
|
* @category getters
|
|
1869
1937
|
* @since 2.0.0
|
|
1870
1938
|
*/
|
|
@@ -1892,6 +1960,7 @@ export declare const lastNonEmpty: <A>(self: NonEmptyReadonlyArray<A>) => A;
|
|
|
1892
1960
|
* @see {@link tailNonEmpty} — when the array is known non-empty
|
|
1893
1961
|
* @see {@link init} — all elements except the last
|
|
1894
1962
|
*
|
|
1963
|
+
* @stability stable
|
|
1895
1964
|
* @category getters
|
|
1896
1965
|
* @since 2.0.0
|
|
1897
1966
|
*/
|
|
@@ -1914,6 +1983,7 @@ export declare function tail<A>(self: Iterable<A>): Option.Option<Array<A>>;
|
|
|
1914
1983
|
* @see {@link tail} — safe version for possibly-empty arrays
|
|
1915
1984
|
* @see {@link initNonEmpty} — all elements except the last
|
|
1916
1985
|
*
|
|
1986
|
+
* @stability stable
|
|
1917
1987
|
* @category getters
|
|
1918
1988
|
* @since 2.0.0
|
|
1919
1989
|
*/
|
|
@@ -1942,6 +2012,7 @@ export declare const tailNonEmpty: <A>(self: NonEmptyReadonlyArray<A>) => Array<
|
|
|
1942
2012
|
* @see {@link initNonEmpty} — when the array is known non-empty
|
|
1943
2013
|
* @see {@link tail} — all elements except the first
|
|
1944
2014
|
*
|
|
2015
|
+
* @stability stable
|
|
1945
2016
|
* @category getters
|
|
1946
2017
|
* @since 2.0.0
|
|
1947
2018
|
*/
|
|
@@ -1964,6 +2035,7 @@ export declare function init<A>(self: Iterable<A>): Option.Option<Array<A>>;
|
|
|
1964
2035
|
* @see {@link init} — safe version for possibly-empty arrays
|
|
1965
2036
|
* @see {@link tailNonEmpty} — all elements except the first
|
|
1966
2037
|
*
|
|
2038
|
+
* @stability stable
|
|
1967
2039
|
* @category getters
|
|
1968
2040
|
* @since 2.0.0
|
|
1969
2041
|
*/
|
|
@@ -1992,6 +2064,7 @@ export declare const initNonEmpty: <A>(self: NonEmptyReadonlyArray<A>) => Array<
|
|
|
1992
2064
|
* @see {@link takeWhile} for keeping an initial prefix while a predicate holds
|
|
1993
2065
|
* @see {@link drop} for removing elements from the start
|
|
1994
2066
|
*
|
|
2067
|
+
* @stability stable
|
|
1995
2068
|
* @category getters
|
|
1996
2069
|
* @since 2.0.0
|
|
1997
2070
|
*/
|
|
@@ -2020,6 +2093,7 @@ export declare const take: {
|
|
|
2020
2093
|
* @see {@link takeWhile} for keeping an initial prefix while a predicate holds
|
|
2021
2094
|
* @see {@link drop} for removing elements from the start
|
|
2022
2095
|
*
|
|
2096
|
+
* @stability stable
|
|
2023
2097
|
* @category getters
|
|
2024
2098
|
* @since 2.0.0
|
|
2025
2099
|
*/
|
|
@@ -2048,6 +2122,7 @@ export declare const take: {
|
|
|
2048
2122
|
* @see {@link takeWhile} for keeping an initial prefix while a predicate holds
|
|
2049
2123
|
* @see {@link drop} for removing elements from the start
|
|
2050
2124
|
*
|
|
2125
|
+
* @stability stable
|
|
2051
2126
|
* @category getters
|
|
2052
2127
|
* @since 2.0.0
|
|
2053
2128
|
*/
|
|
@@ -2076,6 +2151,7 @@ export declare const take: {
|
|
|
2076
2151
|
* @see {@link take} — keep from the start
|
|
2077
2152
|
* @see {@link dropRight} — remove from the end
|
|
2078
2153
|
*
|
|
2154
|
+
* @stability stable
|
|
2079
2155
|
* @category getters
|
|
2080
2156
|
* @since 2.0.0
|
|
2081
2157
|
*/
|
|
@@ -2103,6 +2179,7 @@ export declare const takeRight: {
|
|
|
2103
2179
|
* @see {@link take} — keep from the start
|
|
2104
2180
|
* @see {@link dropRight} — remove from the end
|
|
2105
2181
|
*
|
|
2182
|
+
* @stability stable
|
|
2106
2183
|
* @category getters
|
|
2107
2184
|
* @since 2.0.0
|
|
2108
2185
|
*/
|
|
@@ -2130,6 +2207,7 @@ export declare const takeRight: {
|
|
|
2130
2207
|
* @see {@link take} — keep from the start
|
|
2131
2208
|
* @see {@link dropRight} — remove from the end
|
|
2132
2209
|
*
|
|
2210
|
+
* @stability stable
|
|
2133
2211
|
* @category getters
|
|
2134
2212
|
* @since 2.0.0
|
|
2135
2213
|
*/
|
|
@@ -2161,6 +2239,7 @@ export declare const takeRight: {
|
|
|
2161
2239
|
* @see {@link dropWhile} for removing the matching prefix and keeping the rest
|
|
2162
2240
|
* @see {@link span} for splitting the matching prefix from the remaining elements
|
|
2163
2241
|
*
|
|
2242
|
+
* @stability stable
|
|
2164
2243
|
* @category getters
|
|
2165
2244
|
* @since 2.0.0
|
|
2166
2245
|
*/
|
|
@@ -2191,6 +2270,7 @@ export declare const takeWhile: {
|
|
|
2191
2270
|
* @see {@link dropWhile} for removing the matching prefix and keeping the rest
|
|
2192
2271
|
* @see {@link span} for splitting the matching prefix from the remaining elements
|
|
2193
2272
|
*
|
|
2273
|
+
* @stability stable
|
|
2194
2274
|
* @category getters
|
|
2195
2275
|
* @since 2.0.0
|
|
2196
2276
|
*/
|
|
@@ -2221,6 +2301,7 @@ export declare const takeWhile: {
|
|
|
2221
2301
|
* @see {@link dropWhile} for removing the matching prefix and keeping the rest
|
|
2222
2302
|
* @see {@link span} for splitting the matching prefix from the remaining elements
|
|
2223
2303
|
*
|
|
2304
|
+
* @stability stable
|
|
2224
2305
|
* @category getters
|
|
2225
2306
|
* @since 2.0.0
|
|
2226
2307
|
*/
|
|
@@ -2251,6 +2332,7 @@ export declare const takeWhile: {
|
|
|
2251
2332
|
* @see {@link dropWhile} for removing the matching prefix and keeping the rest
|
|
2252
2333
|
* @see {@link span} for splitting the matching prefix from the remaining elements
|
|
2253
2334
|
*
|
|
2335
|
+
* @stability stable
|
|
2254
2336
|
* @category getters
|
|
2255
2337
|
* @since 2.0.0
|
|
2256
2338
|
*/
|
|
@@ -2281,6 +2363,7 @@ export declare const takeWhile: {
|
|
|
2281
2363
|
* @see {@link dropWhile} for removing the matching prefix and keeping the rest
|
|
2282
2364
|
* @see {@link span} for splitting the matching prefix from the remaining elements
|
|
2283
2365
|
*
|
|
2366
|
+
* @stability stable
|
|
2284
2367
|
* @category getters
|
|
2285
2368
|
* @since 2.0.0
|
|
2286
2369
|
*/
|
|
@@ -2302,6 +2385,7 @@ export declare const takeWhile: {
|
|
|
2302
2385
|
*
|
|
2303
2386
|
* @see {@link takeWhile} for taking a prefix based on a boolean predicate
|
|
2304
2387
|
*
|
|
2388
|
+
* @stability stable
|
|
2305
2389
|
* @category getters
|
|
2306
2390
|
* @since 4.0.0
|
|
2307
2391
|
*/
|
|
@@ -2322,6 +2406,7 @@ export declare const takeWhileFilter: {
|
|
|
2322
2406
|
*
|
|
2323
2407
|
* @see {@link takeWhile} for taking a prefix based on a boolean predicate
|
|
2324
2408
|
*
|
|
2409
|
+
* @stability stable
|
|
2325
2410
|
* @category getters
|
|
2326
2411
|
* @since 4.0.0
|
|
2327
2412
|
*/
|
|
@@ -2342,6 +2427,7 @@ export declare const takeWhileFilter: {
|
|
|
2342
2427
|
*
|
|
2343
2428
|
* @see {@link takeWhile} for taking a prefix based on a boolean predicate
|
|
2344
2429
|
*
|
|
2430
|
+
* @stability stable
|
|
2345
2431
|
* @category getters
|
|
2346
2432
|
* @since 4.0.0
|
|
2347
2433
|
*/
|
|
@@ -2374,6 +2460,7 @@ export declare const takeWhileFilter: {
|
|
|
2374
2460
|
* @see {@link dropWhile} for keeping only the elements after the matching prefix
|
|
2375
2461
|
* @see {@link splitWhere} for splitting at the first element that satisfies a predicate
|
|
2376
2462
|
*
|
|
2463
|
+
* @stability stable
|
|
2377
2464
|
* @category splitting
|
|
2378
2465
|
* @since 2.0.0
|
|
2379
2466
|
*/
|
|
@@ -2405,6 +2492,7 @@ export declare const span: {
|
|
|
2405
2492
|
* @see {@link dropWhile} for keeping only the elements after the matching prefix
|
|
2406
2493
|
* @see {@link splitWhere} for splitting at the first element that satisfies a predicate
|
|
2407
2494
|
*
|
|
2495
|
+
* @stability stable
|
|
2408
2496
|
* @category splitting
|
|
2409
2497
|
* @since 2.0.0
|
|
2410
2498
|
*/
|
|
@@ -2436,6 +2524,7 @@ export declare const span: {
|
|
|
2436
2524
|
* @see {@link dropWhile} for keeping only the elements after the matching prefix
|
|
2437
2525
|
* @see {@link splitWhere} for splitting at the first element that satisfies a predicate
|
|
2438
2526
|
*
|
|
2527
|
+
* @stability stable
|
|
2439
2528
|
* @category splitting
|
|
2440
2529
|
* @since 2.0.0
|
|
2441
2530
|
*/
|
|
@@ -2467,6 +2556,7 @@ export declare const span: {
|
|
|
2467
2556
|
* @see {@link dropWhile} for keeping only the elements after the matching prefix
|
|
2468
2557
|
* @see {@link splitWhere} for splitting at the first element that satisfies a predicate
|
|
2469
2558
|
*
|
|
2559
|
+
* @stability stable
|
|
2470
2560
|
* @category splitting
|
|
2471
2561
|
* @since 2.0.0
|
|
2472
2562
|
*/
|
|
@@ -2498,6 +2588,7 @@ export declare const span: {
|
|
|
2498
2588
|
* @see {@link dropWhile} for keeping only the elements after the matching prefix
|
|
2499
2589
|
* @see {@link splitWhere} for splitting at the first element that satisfies a predicate
|
|
2500
2590
|
*
|
|
2591
|
+
* @stability stable
|
|
2501
2592
|
* @category splitting
|
|
2502
2593
|
* @since 2.0.0
|
|
2503
2594
|
*/
|
|
@@ -2528,6 +2619,7 @@ export declare const span: {
|
|
|
2528
2619
|
* @see {@link dropWhile} for removing a prefix based on a predicate instead of a fixed count
|
|
2529
2620
|
* @see {@link take} for keeping a fixed number of elements from the start
|
|
2530
2621
|
*
|
|
2622
|
+
* @stability stable
|
|
2531
2623
|
* @category getters
|
|
2532
2624
|
* @since 2.0.0
|
|
2533
2625
|
*/
|
|
@@ -2557,6 +2649,7 @@ export declare const drop: {
|
|
|
2557
2649
|
* @see {@link dropWhile} for removing a prefix based on a predicate instead of a fixed count
|
|
2558
2650
|
* @see {@link take} for keeping a fixed number of elements from the start
|
|
2559
2651
|
*
|
|
2652
|
+
* @stability stable
|
|
2560
2653
|
* @category getters
|
|
2561
2654
|
* @since 2.0.0
|
|
2562
2655
|
*/
|
|
@@ -2586,6 +2679,7 @@ export declare const drop: {
|
|
|
2586
2679
|
* @see {@link dropWhile} for removing a prefix based on a predicate instead of a fixed count
|
|
2587
2680
|
* @see {@link take} for keeping a fixed number of elements from the start
|
|
2588
2681
|
*
|
|
2682
|
+
* @stability stable
|
|
2589
2683
|
* @category getters
|
|
2590
2684
|
* @since 2.0.0
|
|
2591
2685
|
*/
|
|
@@ -2613,6 +2707,7 @@ export declare const drop: {
|
|
|
2613
2707
|
* @see {@link drop} — remove from the start
|
|
2614
2708
|
* @see {@link takeRight} — keep from the end
|
|
2615
2709
|
*
|
|
2710
|
+
* @stability stable
|
|
2616
2711
|
* @category getters
|
|
2617
2712
|
* @since 2.0.0
|
|
2618
2713
|
*/
|
|
@@ -2639,6 +2734,7 @@ export declare const dropRight: {
|
|
|
2639
2734
|
* @see {@link drop} — remove from the start
|
|
2640
2735
|
* @see {@link takeRight} — keep from the end
|
|
2641
2736
|
*
|
|
2737
|
+
* @stability stable
|
|
2642
2738
|
* @category getters
|
|
2643
2739
|
* @since 2.0.0
|
|
2644
2740
|
*/
|
|
@@ -2665,6 +2761,7 @@ export declare const dropRight: {
|
|
|
2665
2761
|
* @see {@link drop} — remove from the start
|
|
2666
2762
|
* @see {@link takeRight} — keep from the end
|
|
2667
2763
|
*
|
|
2764
|
+
* @stability stable
|
|
2668
2765
|
* @category getters
|
|
2669
2766
|
* @since 2.0.0
|
|
2670
2767
|
*/
|
|
@@ -2692,6 +2789,7 @@ export declare const dropRight: {
|
|
|
2692
2789
|
* @see {@link takeWhile} — keep the matching prefix instead
|
|
2693
2790
|
* @see {@link drop} — drop a fixed count
|
|
2694
2791
|
*
|
|
2792
|
+
* @stability stable
|
|
2695
2793
|
* @category getters
|
|
2696
2794
|
* @since 2.0.0
|
|
2697
2795
|
*/
|
|
@@ -2718,6 +2816,7 @@ export declare const dropWhile: {
|
|
|
2718
2816
|
* @see {@link takeWhile} — keep the matching prefix instead
|
|
2719
2817
|
* @see {@link drop} — drop a fixed count
|
|
2720
2818
|
*
|
|
2819
|
+
* @stability stable
|
|
2721
2820
|
* @category getters
|
|
2722
2821
|
* @since 2.0.0
|
|
2723
2822
|
*/
|
|
@@ -2744,6 +2843,7 @@ export declare const dropWhile: {
|
|
|
2744
2843
|
* @see {@link takeWhile} — keep the matching prefix instead
|
|
2745
2844
|
* @see {@link drop} — drop a fixed count
|
|
2746
2845
|
*
|
|
2846
|
+
* @stability stable
|
|
2747
2847
|
* @category getters
|
|
2748
2848
|
* @since 2.0.0
|
|
2749
2849
|
*/
|
|
@@ -2765,6 +2865,7 @@ export declare const dropWhile: {
|
|
|
2765
2865
|
* @see {@link dropWhile} for dropping a prefix with a simple boolean predicate
|
|
2766
2866
|
* @see {@link takeWhileFilter} for keeping only the matching prefix
|
|
2767
2867
|
*
|
|
2868
|
+
* @stability stable
|
|
2768
2869
|
* @category getters
|
|
2769
2870
|
* @since 4.0.0
|
|
2770
2871
|
*/
|
|
@@ -2785,6 +2886,7 @@ export declare const dropWhileFilter: {
|
|
|
2785
2886
|
* @see {@link dropWhile} for dropping a prefix with a simple boolean predicate
|
|
2786
2887
|
* @see {@link takeWhileFilter} for keeping only the matching prefix
|
|
2787
2888
|
*
|
|
2889
|
+
* @stability stable
|
|
2788
2890
|
* @category getters
|
|
2789
2891
|
* @since 4.0.0
|
|
2790
2892
|
*/
|
|
@@ -2805,6 +2907,7 @@ export declare const dropWhileFilter: {
|
|
|
2805
2907
|
* @see {@link dropWhile} for dropping a prefix with a simple boolean predicate
|
|
2806
2908
|
* @see {@link takeWhileFilter} for keeping only the matching prefix
|
|
2807
2909
|
*
|
|
2910
|
+
* @stability stable
|
|
2808
2911
|
* @category getters
|
|
2809
2912
|
* @since 4.0.0
|
|
2810
2913
|
*/
|
|
@@ -2830,6 +2933,7 @@ export declare const dropWhileFilter: {
|
|
|
2830
2933
|
* @see {@link findLastIndex} — search from the end
|
|
2831
2934
|
* @see {@link findFirst} — get the element itself
|
|
2832
2935
|
*
|
|
2936
|
+
* @stability stable
|
|
2833
2937
|
* @category searching
|
|
2834
2938
|
* @since 2.0.0
|
|
2835
2939
|
*/
|
|
@@ -2854,6 +2958,7 @@ export declare const findFirstIndex: {
|
|
|
2854
2958
|
* @see {@link findLastIndex} — search from the end
|
|
2855
2959
|
* @see {@link findFirst} — get the element itself
|
|
2856
2960
|
*
|
|
2961
|
+
* @stability stable
|
|
2857
2962
|
* @category searching
|
|
2858
2963
|
* @since 2.0.0
|
|
2859
2964
|
*/
|
|
@@ -2878,6 +2983,7 @@ export declare const findFirstIndex: {
|
|
|
2878
2983
|
* @see {@link findLastIndex} — search from the end
|
|
2879
2984
|
* @see {@link findFirst} — get the element itself
|
|
2880
2985
|
*
|
|
2986
|
+
* @stability stable
|
|
2881
2987
|
* @category searching
|
|
2882
2988
|
* @since 2.0.0
|
|
2883
2989
|
*/
|
|
@@ -2902,6 +3008,7 @@ export declare const findFirstIndex: {
|
|
|
2902
3008
|
* @see {@link findFirstIndex} — search from the start
|
|
2903
3009
|
* @see {@link findLast} — get the element itself
|
|
2904
3010
|
*
|
|
3011
|
+
* @stability stable
|
|
2905
3012
|
* @category searching
|
|
2906
3013
|
* @since 2.0.0
|
|
2907
3014
|
*/
|
|
@@ -2925,6 +3032,7 @@ export declare const findLastIndex: {
|
|
|
2925
3032
|
* @see {@link findFirstIndex} — search from the start
|
|
2926
3033
|
* @see {@link findLast} — get the element itself
|
|
2927
3034
|
*
|
|
3035
|
+
* @stability stable
|
|
2928
3036
|
* @category searching
|
|
2929
3037
|
* @since 2.0.0
|
|
2930
3038
|
*/
|
|
@@ -2948,6 +3056,7 @@ export declare const findLastIndex: {
|
|
|
2948
3056
|
* @see {@link findFirstIndex} — search from the start
|
|
2949
3057
|
* @see {@link findLast} — get the element itself
|
|
2950
3058
|
*
|
|
3059
|
+
* @stability stable
|
|
2951
3060
|
* @category searching
|
|
2952
3061
|
* @since 2.0.0
|
|
2953
3062
|
*/
|
|
@@ -2980,6 +3089,7 @@ export declare const findLastIndex: {
|
|
|
2980
3089
|
* @see {@link findFirstIndex} — get the index instead
|
|
2981
3090
|
* @see {@link findFirstWithIndex} — get both element and index
|
|
2982
3091
|
*
|
|
3092
|
+
* @stability stable
|
|
2983
3093
|
* @category searching
|
|
2984
3094
|
* @since 2.0.0
|
|
2985
3095
|
*/
|
|
@@ -3011,6 +3121,7 @@ export declare const findFirst: {
|
|
|
3011
3121
|
* @see {@link findFirstIndex} — get the index instead
|
|
3012
3122
|
* @see {@link findFirstWithIndex} — get both element and index
|
|
3013
3123
|
*
|
|
3124
|
+
* @stability stable
|
|
3014
3125
|
* @category searching
|
|
3015
3126
|
* @since 2.0.0
|
|
3016
3127
|
*/
|
|
@@ -3042,6 +3153,7 @@ export declare const findFirst: {
|
|
|
3042
3153
|
* @see {@link findFirstIndex} — get the index instead
|
|
3043
3154
|
* @see {@link findFirstWithIndex} — get both element and index
|
|
3044
3155
|
*
|
|
3156
|
+
* @stability stable
|
|
3045
3157
|
* @category searching
|
|
3046
3158
|
* @since 2.0.0
|
|
3047
3159
|
*/
|
|
@@ -3073,6 +3185,7 @@ export declare const findFirst: {
|
|
|
3073
3185
|
* @see {@link findFirstIndex} — get the index instead
|
|
3074
3186
|
* @see {@link findFirstWithIndex} — get both element and index
|
|
3075
3187
|
*
|
|
3188
|
+
* @stability stable
|
|
3076
3189
|
* @category searching
|
|
3077
3190
|
* @since 2.0.0
|
|
3078
3191
|
*/
|
|
@@ -3104,6 +3217,7 @@ export declare const findFirst: {
|
|
|
3104
3217
|
* @see {@link findFirstIndex} — get the index instead
|
|
3105
3218
|
* @see {@link findFirstWithIndex} — get both element and index
|
|
3106
3219
|
*
|
|
3220
|
+
* @stability stable
|
|
3107
3221
|
* @category searching
|
|
3108
3222
|
* @since 2.0.0
|
|
3109
3223
|
*/
|
|
@@ -3135,6 +3249,7 @@ export declare const findFirst: {
|
|
|
3135
3249
|
* @see {@link findFirstIndex} — get the index instead
|
|
3136
3250
|
* @see {@link findFirstWithIndex} — get both element and index
|
|
3137
3251
|
*
|
|
3252
|
+
* @stability stable
|
|
3138
3253
|
* @category searching
|
|
3139
3254
|
* @since 2.0.0
|
|
3140
3255
|
*/
|
|
@@ -3166,6 +3281,7 @@ export declare const findFirst: {
|
|
|
3166
3281
|
* @see {@link findFirstIndex} — get the index instead
|
|
3167
3282
|
* @see {@link findFirstWithIndex} — get both element and index
|
|
3168
3283
|
*
|
|
3284
|
+
* @stability stable
|
|
3169
3285
|
* @category searching
|
|
3170
3286
|
* @since 2.0.0
|
|
3171
3287
|
*/
|
|
@@ -3196,6 +3312,7 @@ export declare const findFirst: {
|
|
|
3196
3312
|
* @see {@link findFirst} — get only the element
|
|
3197
3313
|
* @see {@link findFirstIndex} — get only the index
|
|
3198
3314
|
*
|
|
3315
|
+
* @stability stable
|
|
3199
3316
|
* @category searching
|
|
3200
3317
|
* @since 3.17.0
|
|
3201
3318
|
*/
|
|
@@ -3225,6 +3342,7 @@ export declare const findFirstWithIndex: {
|
|
|
3225
3342
|
* @see {@link findFirst} — get only the element
|
|
3226
3343
|
* @see {@link findFirstIndex} — get only the index
|
|
3227
3344
|
*
|
|
3345
|
+
* @stability stable
|
|
3228
3346
|
* @category searching
|
|
3229
3347
|
* @since 3.17.0
|
|
3230
3348
|
*/
|
|
@@ -3254,6 +3372,7 @@ export declare const findFirstWithIndex: {
|
|
|
3254
3372
|
* @see {@link findFirst} — get only the element
|
|
3255
3373
|
* @see {@link findFirstIndex} — get only the index
|
|
3256
3374
|
*
|
|
3375
|
+
* @stability stable
|
|
3257
3376
|
* @category searching
|
|
3258
3377
|
* @since 3.17.0
|
|
3259
3378
|
*/
|
|
@@ -3283,6 +3402,7 @@ export declare const findFirstWithIndex: {
|
|
|
3283
3402
|
* @see {@link findFirst} — get only the element
|
|
3284
3403
|
* @see {@link findFirstIndex} — get only the index
|
|
3285
3404
|
*
|
|
3405
|
+
* @stability stable
|
|
3286
3406
|
* @category searching
|
|
3287
3407
|
* @since 3.17.0
|
|
3288
3408
|
*/
|
|
@@ -3312,6 +3432,7 @@ export declare const findFirstWithIndex: {
|
|
|
3312
3432
|
* @see {@link findFirst} — get only the element
|
|
3313
3433
|
* @see {@link findFirstIndex} — get only the index
|
|
3314
3434
|
*
|
|
3435
|
+
* @stability stable
|
|
3315
3436
|
* @category searching
|
|
3316
3437
|
* @since 3.17.0
|
|
3317
3438
|
*/
|
|
@@ -3341,6 +3462,7 @@ export declare const findFirstWithIndex: {
|
|
|
3341
3462
|
* @see {@link findFirst} — get only the element
|
|
3342
3463
|
* @see {@link findFirstIndex} — get only the index
|
|
3343
3464
|
*
|
|
3465
|
+
* @stability stable
|
|
3344
3466
|
* @category searching
|
|
3345
3467
|
* @since 3.17.0
|
|
3346
3468
|
*/
|
|
@@ -3370,6 +3492,7 @@ export declare const findFirstWithIndex: {
|
|
|
3370
3492
|
* @see {@link findFirst} — get only the element
|
|
3371
3493
|
* @see {@link findFirstIndex} — get only the index
|
|
3372
3494
|
*
|
|
3495
|
+
* @stability stable
|
|
3373
3496
|
* @category searching
|
|
3374
3497
|
* @since 3.17.0
|
|
3375
3498
|
*/
|
|
@@ -3399,6 +3522,7 @@ export declare const findFirstWithIndex: {
|
|
|
3399
3522
|
* @see {@link findFirst} — search from the start
|
|
3400
3523
|
* @see {@link findLastIndex} — get the index instead
|
|
3401
3524
|
*
|
|
3525
|
+
* @stability stable
|
|
3402
3526
|
* @category searching
|
|
3403
3527
|
* @since 2.0.0
|
|
3404
3528
|
*/
|
|
@@ -3427,6 +3551,7 @@ export declare const findLast: {
|
|
|
3427
3551
|
* @see {@link findFirst} — search from the start
|
|
3428
3552
|
* @see {@link findLastIndex} — get the index instead
|
|
3429
3553
|
*
|
|
3554
|
+
* @stability stable
|
|
3430
3555
|
* @category searching
|
|
3431
3556
|
* @since 2.0.0
|
|
3432
3557
|
*/
|
|
@@ -3455,6 +3580,7 @@ export declare const findLast: {
|
|
|
3455
3580
|
* @see {@link findFirst} — search from the start
|
|
3456
3581
|
* @see {@link findLastIndex} — get the index instead
|
|
3457
3582
|
*
|
|
3583
|
+
* @stability stable
|
|
3458
3584
|
* @category searching
|
|
3459
3585
|
* @since 2.0.0
|
|
3460
3586
|
*/
|
|
@@ -3483,6 +3609,7 @@ export declare const findLast: {
|
|
|
3483
3609
|
* @see {@link findFirst} — search from the start
|
|
3484
3610
|
* @see {@link findLastIndex} — get the index instead
|
|
3485
3611
|
*
|
|
3612
|
+
* @stability stable
|
|
3486
3613
|
* @category searching
|
|
3487
3614
|
* @since 2.0.0
|
|
3488
3615
|
*/
|
|
@@ -3511,6 +3638,7 @@ export declare const findLast: {
|
|
|
3511
3638
|
* @see {@link findFirst} — search from the start
|
|
3512
3639
|
* @see {@link findLastIndex} — get the index instead
|
|
3513
3640
|
*
|
|
3641
|
+
* @stability stable
|
|
3514
3642
|
* @category searching
|
|
3515
3643
|
* @since 2.0.0
|
|
3516
3644
|
*/
|
|
@@ -3539,6 +3667,7 @@ export declare const findLast: {
|
|
|
3539
3667
|
* @see {@link findFirst} — search from the start
|
|
3540
3668
|
* @see {@link findLastIndex} — get the index instead
|
|
3541
3669
|
*
|
|
3670
|
+
* @stability stable
|
|
3542
3671
|
* @category searching
|
|
3543
3672
|
* @since 2.0.0
|
|
3544
3673
|
*/
|
|
@@ -3567,6 +3696,7 @@ export declare const findLast: {
|
|
|
3567
3696
|
* @see {@link findFirst} — search from the start
|
|
3568
3697
|
* @see {@link findLastIndex} — get the index instead
|
|
3569
3698
|
*
|
|
3699
|
+
* @stability stable
|
|
3570
3700
|
* @category searching
|
|
3571
3701
|
* @since 2.0.0
|
|
3572
3702
|
*/
|
|
@@ -3595,6 +3725,7 @@ export declare const findLast: {
|
|
|
3595
3725
|
* @see {@link replace} — replace an existing element
|
|
3596
3726
|
* @see {@link modify} — transform an element at an index
|
|
3597
3727
|
*
|
|
3728
|
+
* @stability stable
|
|
3598
3729
|
* @category transforming
|
|
3599
3730
|
* @since 2.0.0
|
|
3600
3731
|
*/
|
|
@@ -3622,6 +3753,7 @@ export declare const insertAt: {
|
|
|
3622
3753
|
* @see {@link replace} — replace an existing element
|
|
3623
3754
|
* @see {@link modify} — transform an element at an index
|
|
3624
3755
|
*
|
|
3756
|
+
* @stability stable
|
|
3625
3757
|
* @category transforming
|
|
3626
3758
|
* @since 2.0.0
|
|
3627
3759
|
*/
|
|
@@ -3649,6 +3781,7 @@ export declare const insertAt: {
|
|
|
3649
3781
|
* @see {@link replace} — replace an existing element
|
|
3650
3782
|
* @see {@link modify} — transform an element at an index
|
|
3651
3783
|
*
|
|
3784
|
+
* @stability stable
|
|
3652
3785
|
* @category transforming
|
|
3653
3786
|
* @since 2.0.0
|
|
3654
3787
|
*/
|
|
@@ -3677,6 +3810,7 @@ export declare const insertAt: {
|
|
|
3677
3810
|
* @see {@link modify} — transform an element with a function
|
|
3678
3811
|
* @see {@link insertAt} — insert without removing
|
|
3679
3812
|
*
|
|
3813
|
+
* @stability stable
|
|
3680
3814
|
* @category transforming
|
|
3681
3815
|
* @since 2.0.0
|
|
3682
3816
|
*/
|
|
@@ -3704,6 +3838,7 @@ export declare const replace: {
|
|
|
3704
3838
|
* @see {@link modify} — transform an element with a function
|
|
3705
3839
|
* @see {@link insertAt} — insert without removing
|
|
3706
3840
|
*
|
|
3841
|
+
* @stability stable
|
|
3707
3842
|
* @category transforming
|
|
3708
3843
|
* @since 2.0.0
|
|
3709
3844
|
*/
|
|
@@ -3731,6 +3866,7 @@ export declare const replace: {
|
|
|
3731
3866
|
* @see {@link modify} — transform an element with a function
|
|
3732
3867
|
* @see {@link insertAt} — insert without removing
|
|
3733
3868
|
*
|
|
3869
|
+
* @stability stable
|
|
3734
3870
|
* @category transforming
|
|
3735
3871
|
* @since 2.0.0
|
|
3736
3872
|
*/
|
|
@@ -3765,6 +3901,7 @@ export declare const replace: {
|
|
|
3765
3901
|
* @see {@link modifyHeadNonEmpty} — modify the first element
|
|
3766
3902
|
* @see {@link modifyLastNonEmpty} — modify the last element
|
|
3767
3903
|
*
|
|
3904
|
+
* @stability stable
|
|
3768
3905
|
* @category transforming
|
|
3769
3906
|
* @since 2.0.0
|
|
3770
3907
|
*/
|
|
@@ -3798,6 +3935,7 @@ export declare const modify: {
|
|
|
3798
3935
|
* @see {@link modifyHeadNonEmpty} — modify the first element
|
|
3799
3936
|
* @see {@link modifyLastNonEmpty} — modify the last element
|
|
3800
3937
|
*
|
|
3938
|
+
* @stability stable
|
|
3801
3939
|
* @category transforming
|
|
3802
3940
|
* @since 2.0.0
|
|
3803
3941
|
*/
|
|
@@ -3831,6 +3969,7 @@ export declare const modify: {
|
|
|
3831
3969
|
* @see {@link modifyHeadNonEmpty} — modify the first element
|
|
3832
3970
|
* @see {@link modifyLastNonEmpty} — modify the last element
|
|
3833
3971
|
*
|
|
3972
|
+
* @stability stable
|
|
3834
3973
|
* @category transforming
|
|
3835
3974
|
* @since 2.0.0
|
|
3836
3975
|
*/
|
|
@@ -3857,6 +3996,7 @@ export declare const modify: {
|
|
|
3857
3996
|
* @see {@link insertAt} — insert an element
|
|
3858
3997
|
* @see {@link filter} — remove elements by predicate
|
|
3859
3998
|
*
|
|
3999
|
+
* @stability stable
|
|
3860
4000
|
* @category transforming
|
|
3861
4001
|
* @since 2.0.0
|
|
3862
4002
|
*/
|
|
@@ -3882,6 +4022,7 @@ export declare const remove: {
|
|
|
3882
4022
|
* @see {@link insertAt} — insert an element
|
|
3883
4023
|
* @see {@link filter} — remove elements by predicate
|
|
3884
4024
|
*
|
|
4025
|
+
* @stability stable
|
|
3885
4026
|
* @category transforming
|
|
3886
4027
|
* @since 2.0.0
|
|
3887
4028
|
*/
|
|
@@ -3907,6 +4048,7 @@ export declare const remove: {
|
|
|
3907
4048
|
* @see {@link insertAt} — insert an element
|
|
3908
4049
|
* @see {@link filter} — remove elements by predicate
|
|
3909
4050
|
*
|
|
4051
|
+
* @stability stable
|
|
3910
4052
|
* @category transforming
|
|
3911
4053
|
* @since 2.0.0
|
|
3912
4054
|
*/
|
|
@@ -3932,6 +4074,7 @@ export declare const remove: {
|
|
|
3932
4074
|
* Array.reverse([1, 2, 3, 4]) // => [4, 3, 2, 1]
|
|
3933
4075
|
* ```
|
|
3934
4076
|
*
|
|
4077
|
+
* @stability stable
|
|
3935
4078
|
* @category transforming
|
|
3936
4079
|
* @since 2.0.0
|
|
3937
4080
|
*/
|
|
@@ -3959,6 +4102,7 @@ export declare const reverse: <S extends Iterable<any>>(self: S) => S extends No
|
|
|
3959
4102
|
* @see {@link sortWith} — sort by a mapping function
|
|
3960
4103
|
* @see {@link sortBy} — sort by multiple orders
|
|
3961
4104
|
*
|
|
4105
|
+
* @stability stable
|
|
3962
4106
|
* @category sorting
|
|
3963
4107
|
* @since 2.0.0
|
|
3964
4108
|
*/
|
|
@@ -3986,6 +4130,7 @@ export declare const sort: {
|
|
|
3986
4130
|
* @see {@link sortWith} — sort by a mapping function
|
|
3987
4131
|
* @see {@link sortBy} — sort by multiple orders
|
|
3988
4132
|
*
|
|
4133
|
+
* @stability stable
|
|
3989
4134
|
* @category sorting
|
|
3990
4135
|
* @since 2.0.0
|
|
3991
4136
|
*/
|
|
@@ -4013,6 +4158,7 @@ export declare const sort: {
|
|
|
4013
4158
|
* @see {@link sortWith} — sort by a mapping function
|
|
4014
4159
|
* @see {@link sortBy} — sort by multiple orders
|
|
4015
4160
|
*
|
|
4161
|
+
* @stability stable
|
|
4016
4162
|
* @category sorting
|
|
4017
4163
|
* @since 2.0.0
|
|
4018
4164
|
*/
|
|
@@ -4040,6 +4186,7 @@ export declare const sort: {
|
|
|
4040
4186
|
* @see {@link sortWith} — sort by a mapping function
|
|
4041
4187
|
* @see {@link sortBy} — sort by multiple orders
|
|
4042
4188
|
*
|
|
4189
|
+
* @stability stable
|
|
4043
4190
|
* @category sorting
|
|
4044
4191
|
* @since 2.0.0
|
|
4045
4192
|
*/
|
|
@@ -4069,6 +4216,7 @@ export declare const sort: {
|
|
|
4069
4216
|
* @see {@link sort} for sorting with an `Order` that compares the elements directly
|
|
4070
4217
|
* @see {@link sortBy} for sorting with multiple `Order`s applied in sequence
|
|
4071
4218
|
*
|
|
4219
|
+
* @stability stable
|
|
4072
4220
|
* @category sorting
|
|
4073
4221
|
* @since 2.0.0
|
|
4074
4222
|
*/
|
|
@@ -4097,6 +4245,7 @@ export declare const sortWith: {
|
|
|
4097
4245
|
* @see {@link sort} for sorting with an `Order` that compares the elements directly
|
|
4098
4246
|
* @see {@link sortBy} for sorting with multiple `Order`s applied in sequence
|
|
4099
4247
|
*
|
|
4248
|
+
* @stability stable
|
|
4100
4249
|
* @category sorting
|
|
4101
4250
|
* @since 2.0.0
|
|
4102
4251
|
*/
|
|
@@ -4125,6 +4274,7 @@ export declare const sortWith: {
|
|
|
4125
4274
|
* @see {@link sort} for sorting with an `Order` that compares the elements directly
|
|
4126
4275
|
* @see {@link sortBy} for sorting with multiple `Order`s applied in sequence
|
|
4127
4276
|
*
|
|
4277
|
+
* @stability stable
|
|
4128
4278
|
* @category sorting
|
|
4129
4279
|
* @since 2.0.0
|
|
4130
4280
|
*/
|
|
@@ -4153,6 +4303,7 @@ export declare const sortWith: {
|
|
|
4153
4303
|
* @see {@link sort} for sorting with an `Order` that compares the elements directly
|
|
4154
4304
|
* @see {@link sortBy} for sorting with multiple `Order`s applied in sequence
|
|
4155
4305
|
*
|
|
4306
|
+
* @stability stable
|
|
4156
4307
|
* @category sorting
|
|
4157
4308
|
* @since 2.0.0
|
|
4158
4309
|
*/
|
|
@@ -4197,6 +4348,7 @@ export declare const sortWith: {
|
|
|
4197
4348
|
* @see {@link sort} — sort by a single `Order`
|
|
4198
4349
|
* @see {@link sortWith} — sort by a derived key
|
|
4199
4350
|
*
|
|
4351
|
+
* @stability stable
|
|
4200
4352
|
* @category sorting
|
|
4201
4353
|
* @since 2.0.0
|
|
4202
4354
|
*/
|
|
@@ -4224,6 +4376,7 @@ export declare const sortBy: <S extends Iterable<any>>(...orders: ReadonlyArray<
|
|
|
4224
4376
|
* @see {@link zipWith} — zip with a combiner function
|
|
4225
4377
|
* @see {@link unzip} — inverse operation
|
|
4226
4378
|
*
|
|
4379
|
+
* @stability stable
|
|
4227
4380
|
* @category zipping
|
|
4228
4381
|
* @since 2.0.0
|
|
4229
4382
|
*/
|
|
@@ -4251,6 +4404,7 @@ export declare const zip: {
|
|
|
4251
4404
|
* @see {@link zipWith} — zip with a combiner function
|
|
4252
4405
|
* @see {@link unzip} — inverse operation
|
|
4253
4406
|
*
|
|
4407
|
+
* @stability stable
|
|
4254
4408
|
* @category zipping
|
|
4255
4409
|
* @since 2.0.0
|
|
4256
4410
|
*/
|
|
@@ -4278,6 +4432,7 @@ export declare const zip: {
|
|
|
4278
4432
|
* @see {@link zipWith} — zip with a combiner function
|
|
4279
4433
|
* @see {@link unzip} — inverse operation
|
|
4280
4434
|
*
|
|
4435
|
+
* @stability stable
|
|
4281
4436
|
* @category zipping
|
|
4282
4437
|
* @since 2.0.0
|
|
4283
4438
|
*/
|
|
@@ -4305,6 +4460,7 @@ export declare const zip: {
|
|
|
4305
4460
|
* @see {@link zipWith} — zip with a combiner function
|
|
4306
4461
|
* @see {@link unzip} — inverse operation
|
|
4307
4462
|
*
|
|
4463
|
+
* @stability stable
|
|
4308
4464
|
* @category zipping
|
|
4309
4465
|
* @since 2.0.0
|
|
4310
4466
|
*/
|
|
@@ -4332,6 +4488,7 @@ export declare const zip: {
|
|
|
4332
4488
|
* @see {@link zipWith} — zip with a combiner function
|
|
4333
4489
|
* @see {@link unzip} — inverse operation
|
|
4334
4490
|
*
|
|
4491
|
+
* @stability stable
|
|
4335
4492
|
* @category zipping
|
|
4336
4493
|
* @since 2.0.0
|
|
4337
4494
|
*/
|
|
@@ -4356,6 +4513,7 @@ export declare const zip: {
|
|
|
4356
4513
|
*
|
|
4357
4514
|
* @see {@link zip} — zip into tuples
|
|
4358
4515
|
*
|
|
4516
|
+
* @stability stable
|
|
4359
4517
|
* @category zipping
|
|
4360
4518
|
* @since 2.0.0
|
|
4361
4519
|
*/
|
|
@@ -4379,6 +4537,7 @@ export declare const zipWith: {
|
|
|
4379
4537
|
*
|
|
4380
4538
|
* @see {@link zip} — zip into tuples
|
|
4381
4539
|
*
|
|
4540
|
+
* @stability stable
|
|
4382
4541
|
* @category zipping
|
|
4383
4542
|
* @since 2.0.0
|
|
4384
4543
|
*/
|
|
@@ -4402,6 +4561,7 @@ export declare const zipWith: {
|
|
|
4402
4561
|
*
|
|
4403
4562
|
* @see {@link zip} — zip into tuples
|
|
4404
4563
|
*
|
|
4564
|
+
* @stability stable
|
|
4405
4565
|
* @category zipping
|
|
4406
4566
|
* @since 2.0.0
|
|
4407
4567
|
*/
|
|
@@ -4425,6 +4585,7 @@ export declare const zipWith: {
|
|
|
4425
4585
|
*
|
|
4426
4586
|
* @see {@link zip} — zip into tuples
|
|
4427
4587
|
*
|
|
4588
|
+
* @stability stable
|
|
4428
4589
|
* @category zipping
|
|
4429
4590
|
* @since 2.0.0
|
|
4430
4591
|
*/
|
|
@@ -4448,6 +4609,7 @@ export declare const zipWith: {
|
|
|
4448
4609
|
*
|
|
4449
4610
|
* @see {@link zip} — zip into tuples
|
|
4450
4611
|
*
|
|
4612
|
+
* @stability stable
|
|
4451
4613
|
* @category zipping
|
|
4452
4614
|
* @since 2.0.0
|
|
4453
4615
|
*/
|
|
@@ -4466,6 +4628,7 @@ export declare const zipWith: {
|
|
|
4466
4628
|
*
|
|
4467
4629
|
* @see {@link zip} — combine two arrays into pairs
|
|
4468
4630
|
*
|
|
4631
|
+
* @stability stable
|
|
4469
4632
|
* @category zipping
|
|
4470
4633
|
* @since 2.0.0
|
|
4471
4634
|
*/
|
|
@@ -4492,6 +4655,7 @@ export declare const unzip: <S extends Iterable<readonly [any, any]>>(self: S) =
|
|
|
4492
4655
|
*
|
|
4493
4656
|
* @see {@link join} — intersperse and join into a string
|
|
4494
4657
|
*
|
|
4658
|
+
* @stability stable
|
|
4495
4659
|
* @category transforming
|
|
4496
4660
|
* @since 2.0.0
|
|
4497
4661
|
*/
|
|
@@ -4518,6 +4682,7 @@ export declare const intersperse: {
|
|
|
4518
4682
|
*
|
|
4519
4683
|
* @see {@link join} — intersperse and join into a string
|
|
4520
4684
|
*
|
|
4685
|
+
* @stability stable
|
|
4521
4686
|
* @category transforming
|
|
4522
4687
|
* @since 2.0.0
|
|
4523
4688
|
*/
|
|
@@ -4544,6 +4709,7 @@ export declare const intersperse: {
|
|
|
4544
4709
|
*
|
|
4545
4710
|
* @see {@link join} — intersperse and join into a string
|
|
4546
4711
|
*
|
|
4712
|
+
* @stability stable
|
|
4547
4713
|
* @category transforming
|
|
4548
4714
|
* @since 2.0.0
|
|
4549
4715
|
*/
|
|
@@ -4570,6 +4736,7 @@ export declare const intersperse: {
|
|
|
4570
4736
|
*
|
|
4571
4737
|
* @see {@link join} — intersperse and join into a string
|
|
4572
4738
|
*
|
|
4739
|
+
* @stability stable
|
|
4573
4740
|
* @category transforming
|
|
4574
4741
|
* @since 2.0.0
|
|
4575
4742
|
*/
|
|
@@ -4594,6 +4761,7 @@ export declare const intersperse: {
|
|
|
4594
4761
|
* @see {@link setHeadNonEmpty} — replace with a fixed value
|
|
4595
4762
|
* @see {@link modifyLastNonEmpty} — modify the last element
|
|
4596
4763
|
*
|
|
4764
|
+
* @stability stable
|
|
4597
4765
|
* @category transforming
|
|
4598
4766
|
* @since 4.0.0
|
|
4599
4767
|
*/
|
|
@@ -4617,6 +4785,7 @@ export declare const modifyHeadNonEmpty: {
|
|
|
4617
4785
|
* @see {@link setHeadNonEmpty} — replace with a fixed value
|
|
4618
4786
|
* @see {@link modifyLastNonEmpty} — modify the last element
|
|
4619
4787
|
*
|
|
4788
|
+
* @stability stable
|
|
4620
4789
|
* @category transforming
|
|
4621
4790
|
* @since 4.0.0
|
|
4622
4791
|
*/
|
|
@@ -4640,6 +4809,7 @@ export declare const modifyHeadNonEmpty: {
|
|
|
4640
4809
|
* @see {@link setHeadNonEmpty} — replace with a fixed value
|
|
4641
4810
|
* @see {@link modifyLastNonEmpty} — modify the last element
|
|
4642
4811
|
*
|
|
4812
|
+
* @stability stable
|
|
4643
4813
|
* @category transforming
|
|
4644
4814
|
* @since 4.0.0
|
|
4645
4815
|
*/
|
|
@@ -4664,6 +4834,7 @@ export declare const modifyHeadNonEmpty: {
|
|
|
4664
4834
|
* @see {@link modifyHeadNonEmpty} — transform the head with a function
|
|
4665
4835
|
* @see {@link setLastNonEmpty} — replace the last element
|
|
4666
4836
|
*
|
|
4837
|
+
* @stability stable
|
|
4667
4838
|
* @category transforming
|
|
4668
4839
|
* @since 4.0.0
|
|
4669
4840
|
*/
|
|
@@ -4687,6 +4858,7 @@ export declare const setHeadNonEmpty: {
|
|
|
4687
4858
|
* @see {@link modifyHeadNonEmpty} — transform the head with a function
|
|
4688
4859
|
* @see {@link setLastNonEmpty} — replace the last element
|
|
4689
4860
|
*
|
|
4861
|
+
* @stability stable
|
|
4690
4862
|
* @category transforming
|
|
4691
4863
|
* @since 4.0.0
|
|
4692
4864
|
*/
|
|
@@ -4710,6 +4882,7 @@ export declare const setHeadNonEmpty: {
|
|
|
4710
4882
|
* @see {@link modifyHeadNonEmpty} — transform the head with a function
|
|
4711
4883
|
* @see {@link setLastNonEmpty} — replace the last element
|
|
4712
4884
|
*
|
|
4885
|
+
* @stability stable
|
|
4713
4886
|
* @category transforming
|
|
4714
4887
|
* @since 4.0.0
|
|
4715
4888
|
*/
|
|
@@ -4735,6 +4908,7 @@ export declare const setHeadNonEmpty: {
|
|
|
4735
4908
|
* @see {@link setLastNonEmpty} — replace with a fixed value
|
|
4736
4909
|
* @see {@link modifyHeadNonEmpty} — modify the first element
|
|
4737
4910
|
*
|
|
4911
|
+
* @stability stable
|
|
4738
4912
|
* @category transforming
|
|
4739
4913
|
* @since 4.0.0
|
|
4740
4914
|
*/
|
|
@@ -4759,6 +4933,7 @@ export declare const modifyLastNonEmpty: {
|
|
|
4759
4933
|
* @see {@link setLastNonEmpty} — replace with a fixed value
|
|
4760
4934
|
* @see {@link modifyHeadNonEmpty} — modify the first element
|
|
4761
4935
|
*
|
|
4936
|
+
* @stability stable
|
|
4762
4937
|
* @category transforming
|
|
4763
4938
|
* @since 4.0.0
|
|
4764
4939
|
*/
|
|
@@ -4783,6 +4958,7 @@ export declare const modifyLastNonEmpty: {
|
|
|
4783
4958
|
* @see {@link setLastNonEmpty} — replace with a fixed value
|
|
4784
4959
|
* @see {@link modifyHeadNonEmpty} — modify the first element
|
|
4785
4960
|
*
|
|
4961
|
+
* @stability stable
|
|
4786
4962
|
* @category transforming
|
|
4787
4963
|
* @since 4.0.0
|
|
4788
4964
|
*/
|
|
@@ -4807,6 +4983,7 @@ export declare const modifyLastNonEmpty: {
|
|
|
4807
4983
|
* @see {@link modifyLastNonEmpty} — transform the last element with a function
|
|
4808
4984
|
* @see {@link setHeadNonEmpty} — replace the first element
|
|
4809
4985
|
*
|
|
4986
|
+
* @stability stable
|
|
4810
4987
|
* @category transforming
|
|
4811
4988
|
* @since 4.0.0
|
|
4812
4989
|
*/
|
|
@@ -4830,6 +5007,7 @@ export declare const setLastNonEmpty: {
|
|
|
4830
5007
|
* @see {@link modifyLastNonEmpty} — transform the last element with a function
|
|
4831
5008
|
* @see {@link setHeadNonEmpty} — replace the first element
|
|
4832
5009
|
*
|
|
5010
|
+
* @stability stable
|
|
4833
5011
|
* @category transforming
|
|
4834
5012
|
* @since 4.0.0
|
|
4835
5013
|
*/
|
|
@@ -4853,6 +5031,7 @@ export declare const setLastNonEmpty: {
|
|
|
4853
5031
|
* @see {@link modifyLastNonEmpty} — transform the last element with a function
|
|
4854
5032
|
* @see {@link setHeadNonEmpty} — replace the first element
|
|
4855
5033
|
*
|
|
5034
|
+
* @stability stable
|
|
4856
5035
|
* @category transforming
|
|
4857
5036
|
* @since 4.0.0
|
|
4858
5037
|
*/
|
|
@@ -4884,6 +5063,7 @@ export declare const setLastNonEmpty: {
|
|
|
4884
5063
|
* @see {@link take} for taking a fixed number of elements from the start
|
|
4885
5064
|
* @see {@link drop} for dropping a fixed number of elements from the start
|
|
4886
5065
|
*
|
|
5066
|
+
* @stability stable
|
|
4887
5067
|
* @category transforming
|
|
4888
5068
|
* @since 2.0.0
|
|
4889
5069
|
*/
|
|
@@ -4914,6 +5094,7 @@ export declare const rotate: {
|
|
|
4914
5094
|
* @see {@link take} for taking a fixed number of elements from the start
|
|
4915
5095
|
* @see {@link drop} for dropping a fixed number of elements from the start
|
|
4916
5096
|
*
|
|
5097
|
+
* @stability stable
|
|
4917
5098
|
* @category transforming
|
|
4918
5099
|
* @since 2.0.0
|
|
4919
5100
|
*/
|
|
@@ -4944,6 +5125,7 @@ export declare const rotate: {
|
|
|
4944
5125
|
* @see {@link take} for taking a fixed number of elements from the start
|
|
4945
5126
|
* @see {@link drop} for dropping a fixed number of elements from the start
|
|
4946
5127
|
*
|
|
5128
|
+
* @stability stable
|
|
4947
5129
|
* @category transforming
|
|
4948
5130
|
* @since 2.0.0
|
|
4949
5131
|
*/
|
|
@@ -4974,6 +5156,7 @@ export declare const rotate: {
|
|
|
4974
5156
|
* @see {@link take} for taking a fixed number of elements from the start
|
|
4975
5157
|
* @see {@link drop} for dropping a fixed number of elements from the start
|
|
4976
5158
|
*
|
|
5159
|
+
* @stability stable
|
|
4977
5160
|
* @category transforming
|
|
4978
5161
|
* @since 2.0.0
|
|
4979
5162
|
*/
|
|
@@ -4999,6 +5182,7 @@ export declare const rotate: {
|
|
|
4999
5182
|
*
|
|
5000
5183
|
* @see {@link contains} for the `Equal.equivalence()` variant
|
|
5001
5184
|
*
|
|
5185
|
+
* @stability stable
|
|
5002
5186
|
* @category predicates
|
|
5003
5187
|
* @since 2.0.0
|
|
5004
5188
|
*/
|
|
@@ -5025,6 +5209,7 @@ export declare const containsWith: <A>(isEquivalent: (self: A, that: A) => boole
|
|
|
5025
5209
|
*
|
|
5026
5210
|
* @see {@link containsWith} — use custom equality
|
|
5027
5211
|
*
|
|
5212
|
+
* @stability stable
|
|
5028
5213
|
* @category predicates
|
|
5029
5214
|
* @since 2.0.0
|
|
5030
5215
|
*/
|
|
@@ -5048,6 +5233,7 @@ export declare const contains: {
|
|
|
5048
5233
|
*
|
|
5049
5234
|
* @see {@link containsWith} — use custom equality
|
|
5050
5235
|
*
|
|
5236
|
+
* @stability stable
|
|
5051
5237
|
* @category predicates
|
|
5052
5238
|
* @since 2.0.0
|
|
5053
5239
|
*/
|
|
@@ -5071,6 +5257,7 @@ export declare const contains: {
|
|
|
5071
5257
|
*
|
|
5072
5258
|
* @see {@link containsWith} — use custom equality
|
|
5073
5259
|
*
|
|
5260
|
+
* @stability stable
|
|
5074
5261
|
* @category predicates
|
|
5075
5262
|
* @since 2.0.0
|
|
5076
5263
|
*/
|
|
@@ -5101,6 +5288,7 @@ export declare const contains: {
|
|
|
5101
5288
|
* @see {@link chunksOf} — split into fixed-size chunks
|
|
5102
5289
|
* @see {@link splitAt} — split at an index
|
|
5103
5290
|
*
|
|
5291
|
+
* @stability stable
|
|
5104
5292
|
* @category splitting
|
|
5105
5293
|
* @since 2.0.0
|
|
5106
5294
|
*/
|
|
@@ -5130,6 +5318,7 @@ export declare const chop: {
|
|
|
5130
5318
|
* @see {@link chunksOf} — split into fixed-size chunks
|
|
5131
5319
|
* @see {@link splitAt} — split at an index
|
|
5132
5320
|
*
|
|
5321
|
+
* @stability stable
|
|
5133
5322
|
* @category splitting
|
|
5134
5323
|
* @since 2.0.0
|
|
5135
5324
|
*/
|
|
@@ -5159,6 +5348,7 @@ export declare const chop: {
|
|
|
5159
5348
|
* @see {@link chunksOf} — split into fixed-size chunks
|
|
5160
5349
|
* @see {@link splitAt} — split at an index
|
|
5161
5350
|
*
|
|
5351
|
+
* @stability stable
|
|
5162
5352
|
* @category splitting
|
|
5163
5353
|
* @since 2.0.0
|
|
5164
5354
|
*/
|
|
@@ -5188,6 +5378,7 @@ export declare const chop: {
|
|
|
5188
5378
|
* @see {@link chunksOf} — split into fixed-size chunks
|
|
5189
5379
|
* @see {@link splitAt} — split at an index
|
|
5190
5380
|
*
|
|
5381
|
+
* @stability stable
|
|
5191
5382
|
* @category splitting
|
|
5192
5383
|
* @since 2.0.0
|
|
5193
5384
|
*/
|
|
@@ -5216,6 +5407,7 @@ export declare const chop: {
|
|
|
5216
5407
|
* @see {@link splitAtNonEmpty} — for non-empty arrays
|
|
5217
5408
|
* @see {@link splitWhere} — split at a predicate boundary
|
|
5218
5409
|
*
|
|
5410
|
+
* @stability stable
|
|
5219
5411
|
* @category splitting
|
|
5220
5412
|
* @since 2.0.0
|
|
5221
5413
|
*/
|
|
@@ -5243,6 +5435,7 @@ export declare const splitAt: {
|
|
|
5243
5435
|
* @see {@link splitAtNonEmpty} — for non-empty arrays
|
|
5244
5436
|
* @see {@link splitWhere} — split at a predicate boundary
|
|
5245
5437
|
*
|
|
5438
|
+
* @stability stable
|
|
5246
5439
|
* @category splitting
|
|
5247
5440
|
* @since 2.0.0
|
|
5248
5441
|
*/
|
|
@@ -5270,6 +5463,7 @@ export declare const splitAt: {
|
|
|
5270
5463
|
* @see {@link splitAtNonEmpty} — for non-empty arrays
|
|
5271
5464
|
* @see {@link splitWhere} — split at a predicate boundary
|
|
5272
5465
|
*
|
|
5466
|
+
* @stability stable
|
|
5273
5467
|
* @category splitting
|
|
5274
5468
|
* @since 2.0.0
|
|
5275
5469
|
*/
|
|
@@ -5298,6 +5492,7 @@ export declare const splitAt: {
|
|
|
5298
5492
|
*
|
|
5299
5493
|
* @see {@link splitAt} — for possibly-empty arrays
|
|
5300
5494
|
*
|
|
5495
|
+
* @stability stable
|
|
5301
5496
|
* @category splitting
|
|
5302
5497
|
* @since 4.0.0
|
|
5303
5498
|
*/
|
|
@@ -5325,6 +5520,7 @@ export declare const splitAtNonEmpty: {
|
|
|
5325
5520
|
*
|
|
5326
5521
|
* @see {@link splitAt} — for possibly-empty arrays
|
|
5327
5522
|
*
|
|
5523
|
+
* @stability stable
|
|
5328
5524
|
* @category splitting
|
|
5329
5525
|
* @since 4.0.0
|
|
5330
5526
|
*/
|
|
@@ -5352,6 +5548,7 @@ export declare const splitAtNonEmpty: {
|
|
|
5352
5548
|
*
|
|
5353
5549
|
* @see {@link splitAt} — for possibly-empty arrays
|
|
5354
5550
|
*
|
|
5551
|
+
* @stability stable
|
|
5355
5552
|
* @category splitting
|
|
5356
5553
|
* @since 4.0.0
|
|
5357
5554
|
*/
|
|
@@ -5379,6 +5576,7 @@ export declare const splitAtNonEmpty: {
|
|
|
5379
5576
|
*
|
|
5380
5577
|
* @see {@link chunksOf} — split into fixed-size chunks
|
|
5381
5578
|
*
|
|
5579
|
+
* @stability stable
|
|
5382
5580
|
* @category splitting
|
|
5383
5581
|
* @since 2.0.0
|
|
5384
5582
|
*/
|
|
@@ -5405,6 +5603,7 @@ export declare const split: {
|
|
|
5405
5603
|
*
|
|
5406
5604
|
* @see {@link chunksOf} — split into fixed-size chunks
|
|
5407
5605
|
*
|
|
5606
|
+
* @stability stable
|
|
5408
5607
|
* @category splitting
|
|
5409
5608
|
* @since 2.0.0
|
|
5410
5609
|
*/
|
|
@@ -5431,6 +5630,7 @@ export declare const split: {
|
|
|
5431
5630
|
*
|
|
5432
5631
|
* @see {@link chunksOf} — split into fixed-size chunks
|
|
5433
5632
|
*
|
|
5633
|
+
* @stability stable
|
|
5434
5634
|
* @category splitting
|
|
5435
5635
|
* @since 2.0.0
|
|
5436
5636
|
*/
|
|
@@ -5456,6 +5656,7 @@ export declare const split: {
|
|
|
5456
5656
|
* @see {@link span} — splits at the first element that fails the predicate
|
|
5457
5657
|
* @see {@link splitAt} — split at a fixed index
|
|
5458
5658
|
*
|
|
5659
|
+
* @stability stable
|
|
5459
5660
|
* @category splitting
|
|
5460
5661
|
* @since 2.0.0
|
|
5461
5662
|
*/
|
|
@@ -5480,6 +5681,7 @@ export declare const splitWhere: {
|
|
|
5480
5681
|
* @see {@link span} — splits at the first element that fails the predicate
|
|
5481
5682
|
* @see {@link splitAt} — split at a fixed index
|
|
5482
5683
|
*
|
|
5684
|
+
* @stability stable
|
|
5483
5685
|
* @category splitting
|
|
5484
5686
|
* @since 2.0.0
|
|
5485
5687
|
*/
|
|
@@ -5504,6 +5706,7 @@ export declare const splitWhere: {
|
|
|
5504
5706
|
* @see {@link span} — splits at the first element that fails the predicate
|
|
5505
5707
|
* @see {@link splitAt} — split at a fixed index
|
|
5506
5708
|
*
|
|
5709
|
+
* @stability stable
|
|
5507
5710
|
* @category splitting
|
|
5508
5711
|
* @since 2.0.0
|
|
5509
5712
|
*/
|
|
@@ -5536,6 +5739,7 @@ export declare const splitWhere: {
|
|
|
5536
5739
|
*
|
|
5537
5740
|
* @see {@link fromIterable} — returns the same reference for arrays
|
|
5538
5741
|
*
|
|
5742
|
+
* @stability stable
|
|
5539
5743
|
* @category transforming
|
|
5540
5744
|
* @since 2.0.0
|
|
5541
5745
|
*/
|
|
@@ -5567,6 +5771,7 @@ export declare const copy: {
|
|
|
5567
5771
|
*
|
|
5568
5772
|
* @see {@link fromIterable} — returns the same reference for arrays
|
|
5569
5773
|
*
|
|
5774
|
+
* @stability stable
|
|
5570
5775
|
* @category transforming
|
|
5571
5776
|
* @since 2.0.0
|
|
5572
5777
|
*/
|
|
@@ -5598,6 +5803,7 @@ export declare const copy: {
|
|
|
5598
5803
|
*
|
|
5599
5804
|
* @see {@link fromIterable} — returns the same reference for arrays
|
|
5600
5805
|
*
|
|
5806
|
+
* @stability stable
|
|
5601
5807
|
* @category transforming
|
|
5602
5808
|
* @since 2.0.0
|
|
5603
5809
|
*/
|
|
@@ -5627,6 +5833,7 @@ export declare const copy: {
|
|
|
5627
5833
|
* @see {@link take} — truncate without padding
|
|
5628
5834
|
* @see {@link replicate} — create an array of a single repeated value
|
|
5629
5835
|
*
|
|
5836
|
+
* @stability stable
|
|
5630
5837
|
* @category transforming
|
|
5631
5838
|
* @since 3.8.4
|
|
5632
5839
|
*/
|
|
@@ -5655,6 +5862,7 @@ export declare const pad: {
|
|
|
5655
5862
|
* @see {@link take} — truncate without padding
|
|
5656
5863
|
* @see {@link replicate} — create an array of a single repeated value
|
|
5657
5864
|
*
|
|
5865
|
+
* @stability stable
|
|
5658
5866
|
* @category transforming
|
|
5659
5867
|
* @since 3.8.4
|
|
5660
5868
|
*/
|
|
@@ -5683,6 +5891,7 @@ export declare const pad: {
|
|
|
5683
5891
|
* @see {@link take} — truncate without padding
|
|
5684
5892
|
* @see {@link replicate} — create an array of a single repeated value
|
|
5685
5893
|
*
|
|
5894
|
+
* @stability stable
|
|
5686
5895
|
* @category transforming
|
|
5687
5896
|
* @since 3.8.4
|
|
5688
5897
|
*/
|
|
@@ -5715,6 +5924,7 @@ export declare const pad: {
|
|
|
5715
5924
|
* @see {@link split} — split into a given number of groups
|
|
5716
5925
|
* @see {@link window} — sliding windows
|
|
5717
5926
|
*
|
|
5927
|
+
* @stability stable
|
|
5718
5928
|
* @category splitting
|
|
5719
5929
|
* @since 2.0.0
|
|
5720
5930
|
*/
|
|
@@ -5746,6 +5956,7 @@ export declare const chunksOf: {
|
|
|
5746
5956
|
* @see {@link split} — split into a given number of groups
|
|
5747
5957
|
* @see {@link window} — sliding windows
|
|
5748
5958
|
*
|
|
5959
|
+
* @stability stable
|
|
5749
5960
|
* @category splitting
|
|
5750
5961
|
* @since 2.0.0
|
|
5751
5962
|
*/
|
|
@@ -5777,6 +5988,7 @@ export declare const chunksOf: {
|
|
|
5777
5988
|
* @see {@link split} — split into a given number of groups
|
|
5778
5989
|
* @see {@link window} — sliding windows
|
|
5779
5990
|
*
|
|
5991
|
+
* @stability stable
|
|
5780
5992
|
* @category splitting
|
|
5781
5993
|
* @since 2.0.0
|
|
5782
5994
|
*/
|
|
@@ -5808,6 +6020,7 @@ export declare const chunksOf: {
|
|
|
5808
6020
|
* @see {@link split} — split into a given number of groups
|
|
5809
6021
|
* @see {@link window} — sliding windows
|
|
5810
6022
|
*
|
|
6023
|
+
* @stability stable
|
|
5811
6024
|
* @category splitting
|
|
5812
6025
|
* @since 2.0.0
|
|
5813
6026
|
*/
|
|
@@ -5839,6 +6052,7 @@ export declare const chunksOf: {
|
|
|
5839
6052
|
*
|
|
5840
6053
|
* @see {@link chunksOf} — non-overlapping chunks
|
|
5841
6054
|
*
|
|
6055
|
+
* @stability stable
|
|
5842
6056
|
* @category splitting
|
|
5843
6057
|
* @since 3.13.2
|
|
5844
6058
|
*/
|
|
@@ -5869,6 +6083,7 @@ export declare const window: {
|
|
|
5869
6083
|
*
|
|
5870
6084
|
* @see {@link chunksOf} — non-overlapping chunks
|
|
5871
6085
|
*
|
|
6086
|
+
* @stability stable
|
|
5872
6087
|
* @category splitting
|
|
5873
6088
|
* @since 3.13.2
|
|
5874
6089
|
*/
|
|
@@ -5899,6 +6114,7 @@ export declare const window: {
|
|
|
5899
6114
|
*
|
|
5900
6115
|
* @see {@link chunksOf} — non-overlapping chunks
|
|
5901
6116
|
*
|
|
6117
|
+
* @stability stable
|
|
5902
6118
|
* @category splitting
|
|
5903
6119
|
* @since 3.13.2
|
|
5904
6120
|
*/
|
|
@@ -5931,6 +6147,7 @@ export declare const window: {
|
|
|
5931
6147
|
* @see {@link group} for grouping adjacent elements with `Equal.equivalence()`
|
|
5932
6148
|
* @see {@link groupBy} for grouping all elements into a record by key, regardless of adjacency
|
|
5933
6149
|
*
|
|
6150
|
+
* @stability stable
|
|
5934
6151
|
* @category grouping
|
|
5935
6152
|
* @since 2.0.0
|
|
5936
6153
|
*/
|
|
@@ -5962,6 +6179,7 @@ export declare const groupWith: {
|
|
|
5962
6179
|
* @see {@link group} for grouping adjacent elements with `Equal.equivalence()`
|
|
5963
6180
|
* @see {@link groupBy} for grouping all elements into a record by key, regardless of adjacency
|
|
5964
6181
|
*
|
|
6182
|
+
* @stability stable
|
|
5965
6183
|
* @category grouping
|
|
5966
6184
|
* @since 2.0.0
|
|
5967
6185
|
*/
|
|
@@ -5993,6 +6211,7 @@ export declare const groupWith: {
|
|
|
5993
6211
|
* @see {@link group} for grouping adjacent elements with `Equal.equivalence()`
|
|
5994
6212
|
* @see {@link groupBy} for grouping all elements into a record by key, regardless of adjacency
|
|
5995
6213
|
*
|
|
6214
|
+
* @stability stable
|
|
5996
6215
|
* @category grouping
|
|
5997
6216
|
* @since 2.0.0
|
|
5998
6217
|
*/
|
|
@@ -6021,6 +6240,7 @@ export declare const groupWith: {
|
|
|
6021
6240
|
* @see {@link groupWith} — use custom equality
|
|
6022
6241
|
* @see {@link groupBy} — group by a key function into a record
|
|
6023
6242
|
*
|
|
6243
|
+
* @stability stable
|
|
6024
6244
|
* @category grouping
|
|
6025
6245
|
* @since 2.0.0
|
|
6026
6246
|
*/
|
|
@@ -6062,6 +6282,7 @@ export declare const group: <A>(self: NonEmptyReadonlyArray<A>) => NonEmptyArray
|
|
|
6062
6282
|
* @see {@link group} — group adjacent equal elements
|
|
6063
6283
|
* @see {@link groupWith} — group adjacent elements by custom equality
|
|
6064
6284
|
*
|
|
6285
|
+
* @stability stable
|
|
6065
6286
|
* @category grouping
|
|
6066
6287
|
* @since 2.0.0
|
|
6067
6288
|
*/
|
|
@@ -6103,6 +6324,7 @@ export declare const groupBy: {
|
|
|
6103
6324
|
* @see {@link group} — group adjacent equal elements
|
|
6104
6325
|
* @see {@link groupWith} — group adjacent elements by custom equality
|
|
6105
6326
|
*
|
|
6327
|
+
* @stability stable
|
|
6106
6328
|
* @category grouping
|
|
6107
6329
|
* @since 2.0.0
|
|
6108
6330
|
*/
|
|
@@ -6144,6 +6366,7 @@ export declare const groupBy: {
|
|
|
6144
6366
|
* @see {@link group} — group adjacent equal elements
|
|
6145
6367
|
* @see {@link groupWith} — group adjacent elements by custom equality
|
|
6146
6368
|
*
|
|
6369
|
+
* @stability stable
|
|
6147
6370
|
* @category grouping
|
|
6148
6371
|
* @since 2.0.0
|
|
6149
6372
|
*/
|
|
@@ -6170,6 +6393,7 @@ export declare const groupBy: {
|
|
|
6170
6393
|
* @see {@link intersectionWith} for keeping elements present in both arrays
|
|
6171
6394
|
* @see {@link differenceWith} for keeping elements present only in the first array
|
|
6172
6395
|
*
|
|
6396
|
+
* @stability stable
|
|
6173
6397
|
* @category set operations
|
|
6174
6398
|
* @since 2.0.0
|
|
6175
6399
|
*/
|
|
@@ -6195,6 +6419,7 @@ export declare const unionWith: {
|
|
|
6195
6419
|
* @see {@link intersectionWith} for keeping elements present in both arrays
|
|
6196
6420
|
* @see {@link differenceWith} for keeping elements present only in the first array
|
|
6197
6421
|
*
|
|
6422
|
+
* @stability stable
|
|
6198
6423
|
* @category set operations
|
|
6199
6424
|
* @since 2.0.0
|
|
6200
6425
|
*/
|
|
@@ -6220,6 +6445,7 @@ export declare const unionWith: {
|
|
|
6220
6445
|
* @see {@link intersectionWith} for keeping elements present in both arrays
|
|
6221
6446
|
* @see {@link differenceWith} for keeping elements present only in the first array
|
|
6222
6447
|
*
|
|
6448
|
+
* @stability stable
|
|
6223
6449
|
* @category set operations
|
|
6224
6450
|
* @since 2.0.0
|
|
6225
6451
|
*/
|
|
@@ -6245,6 +6471,7 @@ export declare const unionWith: {
|
|
|
6245
6471
|
* @see {@link intersectionWith} for keeping elements present in both arrays
|
|
6246
6472
|
* @see {@link differenceWith} for keeping elements present only in the first array
|
|
6247
6473
|
*
|
|
6474
|
+
* @stability stable
|
|
6248
6475
|
* @category set operations
|
|
6249
6476
|
* @since 2.0.0
|
|
6250
6477
|
*/
|
|
@@ -6270,6 +6497,7 @@ export declare const unionWith: {
|
|
|
6270
6497
|
* @see {@link intersectionWith} for keeping elements present in both arrays
|
|
6271
6498
|
* @see {@link differenceWith} for keeping elements present only in the first array
|
|
6272
6499
|
*
|
|
6500
|
+
* @stability stable
|
|
6273
6501
|
* @category set operations
|
|
6274
6502
|
* @since 2.0.0
|
|
6275
6503
|
*/
|
|
@@ -6291,6 +6519,7 @@ export declare const unionWith: {
|
|
|
6291
6519
|
* @see {@link intersection} — elements in both arrays
|
|
6292
6520
|
* @see {@link difference} — elements only in the first array
|
|
6293
6521
|
*
|
|
6522
|
+
* @stability stable
|
|
6294
6523
|
* @category set operations
|
|
6295
6524
|
* @since 2.0.0
|
|
6296
6525
|
*/
|
|
@@ -6311,6 +6540,7 @@ export declare const union: {
|
|
|
6311
6540
|
* @see {@link intersection} — elements in both arrays
|
|
6312
6541
|
* @see {@link difference} — elements only in the first array
|
|
6313
6542
|
*
|
|
6543
|
+
* @stability stable
|
|
6314
6544
|
* @category set operations
|
|
6315
6545
|
* @since 2.0.0
|
|
6316
6546
|
*/
|
|
@@ -6331,6 +6561,7 @@ export declare const union: {
|
|
|
6331
6561
|
* @see {@link intersection} — elements in both arrays
|
|
6332
6562
|
* @see {@link difference} — elements only in the first array
|
|
6333
6563
|
*
|
|
6564
|
+
* @stability stable
|
|
6334
6565
|
* @category set operations
|
|
6335
6566
|
* @since 2.0.0
|
|
6336
6567
|
*/
|
|
@@ -6351,6 +6582,7 @@ export declare const union: {
|
|
|
6351
6582
|
* @see {@link intersection} — elements in both arrays
|
|
6352
6583
|
* @see {@link difference} — elements only in the first array
|
|
6353
6584
|
*
|
|
6585
|
+
* @stability stable
|
|
6354
6586
|
* @category set operations
|
|
6355
6587
|
* @since 2.0.0
|
|
6356
6588
|
*/
|
|
@@ -6371,6 +6603,7 @@ export declare const union: {
|
|
|
6371
6603
|
* @see {@link intersection} — elements in both arrays
|
|
6372
6604
|
* @see {@link difference} — elements only in the first array
|
|
6373
6605
|
*
|
|
6606
|
+
* @stability stable
|
|
6374
6607
|
* @category set operations
|
|
6375
6608
|
* @since 2.0.0
|
|
6376
6609
|
*/
|
|
@@ -6401,6 +6634,7 @@ export declare const union: {
|
|
|
6401
6634
|
* @see {@link unionWith} for keeping values from either array with custom equality
|
|
6402
6635
|
* @see {@link differenceWith} for keeping values only from the first array with custom equality
|
|
6403
6636
|
*
|
|
6637
|
+
* @stability stable
|
|
6404
6638
|
* @category set operations
|
|
6405
6639
|
* @since 2.0.0
|
|
6406
6640
|
*/
|
|
@@ -6429,6 +6663,7 @@ export declare const intersectionWith: <A>(isEquivalent: (self: A, that: A) => b
|
|
|
6429
6663
|
* @see {@link union} — elements in either array
|
|
6430
6664
|
* @see {@link difference} — elements only in the first array
|
|
6431
6665
|
*
|
|
6666
|
+
* @stability stable
|
|
6432
6667
|
* @category set operations
|
|
6433
6668
|
* @since 2.0.0
|
|
6434
6669
|
*/
|
|
@@ -6454,6 +6689,7 @@ export declare const intersection: {
|
|
|
6454
6689
|
* @see {@link union} — elements in either array
|
|
6455
6690
|
* @see {@link difference} — elements only in the first array
|
|
6456
6691
|
*
|
|
6692
|
+
* @stability stable
|
|
6457
6693
|
* @category set operations
|
|
6458
6694
|
* @since 2.0.0
|
|
6459
6695
|
*/
|
|
@@ -6479,6 +6715,7 @@ export declare const intersection: {
|
|
|
6479
6715
|
* @see {@link union} — elements in either array
|
|
6480
6716
|
* @see {@link difference} — elements only in the first array
|
|
6481
6717
|
*
|
|
6718
|
+
* @stability stable
|
|
6482
6719
|
* @category set operations
|
|
6483
6720
|
* @since 2.0.0
|
|
6484
6721
|
*/
|
|
@@ -6505,6 +6742,7 @@ export declare const intersection: {
|
|
|
6505
6742
|
* @see {@link unionWith} for keeping values from either array with custom equality
|
|
6506
6743
|
* @see {@link intersectionWith} for keeping values present in both arrays with custom equality
|
|
6507
6744
|
*
|
|
6745
|
+
* @stability stable
|
|
6508
6746
|
* @category set operations
|
|
6509
6747
|
* @since 2.0.0
|
|
6510
6748
|
*/
|
|
@@ -6533,6 +6771,7 @@ export declare const differenceWith: <A>(isEquivalent: (self: A, that: A) => boo
|
|
|
6533
6771
|
* @see {@link union} — elements in either array
|
|
6534
6772
|
* @see {@link intersection} — elements in both arrays
|
|
6535
6773
|
*
|
|
6774
|
+
* @stability stable
|
|
6536
6775
|
* @category set operations
|
|
6537
6776
|
* @since 2.0.0
|
|
6538
6777
|
*/
|
|
@@ -6558,6 +6797,7 @@ export declare const difference: {
|
|
|
6558
6797
|
* @see {@link union} — elements in either array
|
|
6559
6798
|
* @see {@link intersection} — elements in both arrays
|
|
6560
6799
|
*
|
|
6800
|
+
* @stability stable
|
|
6561
6801
|
* @category set operations
|
|
6562
6802
|
* @since 2.0.0
|
|
6563
6803
|
*/
|
|
@@ -6583,6 +6823,7 @@ export declare const difference: {
|
|
|
6583
6823
|
* @see {@link union} — elements in either array
|
|
6584
6824
|
* @see {@link intersection} — elements in both arrays
|
|
6585
6825
|
*
|
|
6826
|
+
* @stability stable
|
|
6586
6827
|
* @category set operations
|
|
6587
6828
|
* @since 2.0.0
|
|
6588
6829
|
*/
|
|
@@ -6606,6 +6847,7 @@ export declare const difference: {
|
|
|
6606
6847
|
* @see {@link of} — create a single-element array
|
|
6607
6848
|
* @see {@link make} — create from multiple values
|
|
6608
6849
|
*
|
|
6850
|
+
* @stability stable
|
|
6609
6851
|
* @category constructors
|
|
6610
6852
|
* @since 2.0.0
|
|
6611
6853
|
*/
|
|
@@ -6624,6 +6866,7 @@ export declare const empty: <A = never>() => Array<A>;
|
|
|
6624
6866
|
* @see {@link make} — create from multiple values
|
|
6625
6867
|
* @see {@link empty} — create an empty array
|
|
6626
6868
|
*
|
|
6869
|
+
* @stability stable
|
|
6627
6870
|
* @category constructors
|
|
6628
6871
|
* @since 2.0.0
|
|
6629
6872
|
*/
|
|
@@ -6632,6 +6875,7 @@ export declare const of: <A>(a: A) => NonEmptyArray<A>;
|
|
|
6632
6875
|
* Utility types for working with `ReadonlyArray` at the type level. Use these
|
|
6633
6876
|
* to infer element types, preserve non-emptiness, and flatten nested arrays.
|
|
6634
6877
|
*
|
|
6878
|
+
* @stability stable
|
|
6635
6879
|
* @since 2.0.0
|
|
6636
6880
|
*/
|
|
6637
6881
|
export declare namespace ReadonlyArray {
|
|
@@ -6747,6 +6991,7 @@ export declare namespace ReadonlyArray {
|
|
|
6747
6991
|
*
|
|
6748
6992
|
* @see {@link flatMap} — map and flatten
|
|
6749
6993
|
*
|
|
6994
|
+
* @stability stable
|
|
6750
6995
|
* @category mapping
|
|
6751
6996
|
* @since 2.0.0
|
|
6752
6997
|
*/
|
|
@@ -6773,6 +7018,7 @@ export declare const map: {
|
|
|
6773
7018
|
*
|
|
6774
7019
|
* @see {@link flatMap} — map and flatten
|
|
6775
7020
|
*
|
|
7021
|
+
* @stability stable
|
|
6776
7022
|
* @category mapping
|
|
6777
7023
|
* @since 2.0.0
|
|
6778
7024
|
*/
|
|
@@ -6799,6 +7045,7 @@ export declare const map: {
|
|
|
6799
7045
|
*
|
|
6800
7046
|
* @see {@link flatMap} — map and flatten
|
|
6801
7047
|
*
|
|
7048
|
+
* @stability stable
|
|
6802
7049
|
* @category mapping
|
|
6803
7050
|
* @since 2.0.0
|
|
6804
7051
|
*/
|
|
@@ -6828,6 +7075,7 @@ export declare const map: {
|
|
|
6828
7075
|
* @see {@link map} — transform without flattening
|
|
6829
7076
|
* @see {@link flatten} — flatten without mapping
|
|
6830
7077
|
*
|
|
7078
|
+
* @stability stable
|
|
6831
7079
|
* @category sequencing
|
|
6832
7080
|
* @since 2.0.0
|
|
6833
7081
|
*/
|
|
@@ -6856,6 +7104,7 @@ export declare const flatMap: {
|
|
|
6856
7104
|
* @see {@link map} — transform without flattening
|
|
6857
7105
|
* @see {@link flatten} — flatten without mapping
|
|
6858
7106
|
*
|
|
7107
|
+
* @stability stable
|
|
6859
7108
|
* @category sequencing
|
|
6860
7109
|
* @since 2.0.0
|
|
6861
7110
|
*/
|
|
@@ -6884,6 +7133,7 @@ export declare const flatMap: {
|
|
|
6884
7133
|
* @see {@link map} — transform without flattening
|
|
6885
7134
|
* @see {@link flatten} — flatten without mapping
|
|
6886
7135
|
*
|
|
7136
|
+
* @stability stable
|
|
6887
7137
|
* @category sequencing
|
|
6888
7138
|
* @since 2.0.0
|
|
6889
7139
|
*/
|
|
@@ -6912,6 +7162,7 @@ export declare const flatMap: {
|
|
|
6912
7162
|
* @see {@link map} — transform without flattening
|
|
6913
7163
|
* @see {@link flatten} — flatten without mapping
|
|
6914
7164
|
*
|
|
7165
|
+
* @stability stable
|
|
6915
7166
|
* @category sequencing
|
|
6916
7167
|
* @since 2.0.0
|
|
6917
7168
|
*/
|
|
@@ -6935,6 +7186,7 @@ export declare const flatMap: {
|
|
|
6935
7186
|
*
|
|
6936
7187
|
* @see {@link flatMap} — map then flatten in one step
|
|
6937
7188
|
*
|
|
7189
|
+
* @stability stable
|
|
6938
7190
|
* @category sequencing
|
|
6939
7191
|
* @since 2.0.0
|
|
6940
7192
|
*/
|
|
@@ -6958,6 +7210,7 @@ export declare const flatten: <const S extends ReadonlyArray<ReadonlyArray<any>>
|
|
|
6958
7210
|
* @see {@link fromOption} — convert a single Option
|
|
6959
7211
|
* @see {@link getSuccesses} — extract successes from Results
|
|
6960
7212
|
*
|
|
7213
|
+
* @stability stable
|
|
6961
7214
|
* @category filtering
|
|
6962
7215
|
* @since 2.0.0
|
|
6963
7216
|
*/
|
|
@@ -6982,6 +7235,7 @@ export declare const getSomes: <T extends Iterable<Option.Option<X>>, X = any>(s
|
|
|
6982
7235
|
* @see {@link getSuccesses} — extract success values
|
|
6983
7236
|
* @see {@link separate} — split into successes and failures
|
|
6984
7237
|
*
|
|
7238
|
+
* @stability stable
|
|
6985
7239
|
* @category filtering
|
|
6986
7240
|
* @since 4.0.0
|
|
6987
7241
|
*/
|
|
@@ -7006,6 +7260,7 @@ export declare const getFailures: <T extends Iterable<Result.Result<any, any>>>(
|
|
|
7006
7260
|
* @see {@link getFailures} — extract failure values
|
|
7007
7261
|
* @see {@link separate} — split into successes and failures
|
|
7008
7262
|
*
|
|
7263
|
+
* @stability stable
|
|
7009
7264
|
* @category filtering
|
|
7010
7265
|
* @since 4.0.0
|
|
7011
7266
|
*/
|
|
@@ -7033,6 +7288,7 @@ export declare const getSuccesses: <T extends Iterable<Result.Result<any, any>>>
|
|
|
7033
7288
|
* @see {@link filter} — keep original elements matching a predicate
|
|
7034
7289
|
* @see {@link partition} for keeping both successes and failures
|
|
7035
7290
|
*
|
|
7291
|
+
* @stability stable
|
|
7036
7292
|
* @category filtering
|
|
7037
7293
|
* @since 2.0.0
|
|
7038
7294
|
*/
|
|
@@ -7060,6 +7316,7 @@ export declare const filterMap: {
|
|
|
7060
7316
|
* @see {@link filter} — keep original elements matching a predicate
|
|
7061
7317
|
* @see {@link partition} for keeping both successes and failures
|
|
7062
7318
|
*
|
|
7319
|
+
* @stability stable
|
|
7063
7320
|
* @category filtering
|
|
7064
7321
|
* @since 2.0.0
|
|
7065
7322
|
*/
|
|
@@ -7087,6 +7344,7 @@ export declare const filterMap: {
|
|
|
7087
7344
|
* @see {@link filter} — keep original elements matching a predicate
|
|
7088
7345
|
* @see {@link partition} for keeping both successes and failures
|
|
7089
7346
|
*
|
|
7347
|
+
* @stability stable
|
|
7090
7348
|
* @category filtering
|
|
7091
7349
|
* @since 2.0.0
|
|
7092
7350
|
*/
|
|
@@ -7116,6 +7374,7 @@ export declare const filterMap: {
|
|
|
7116
7374
|
* @see {@link partition} — split into matching and non-matching
|
|
7117
7375
|
* @see {@link filterMap} for transforming while filtering
|
|
7118
7376
|
*
|
|
7377
|
+
* @stability stable
|
|
7119
7378
|
* @category filtering
|
|
7120
7379
|
* @since 2.0.0
|
|
7121
7380
|
*/
|
|
@@ -7144,6 +7403,7 @@ export declare const filter: {
|
|
|
7144
7403
|
* @see {@link partition} — split into matching and non-matching
|
|
7145
7404
|
* @see {@link filterMap} for transforming while filtering
|
|
7146
7405
|
*
|
|
7406
|
+
* @stability stable
|
|
7147
7407
|
* @category filtering
|
|
7148
7408
|
* @since 2.0.0
|
|
7149
7409
|
*/
|
|
@@ -7172,6 +7432,7 @@ export declare const filter: {
|
|
|
7172
7432
|
* @see {@link partition} — split into matching and non-matching
|
|
7173
7433
|
* @see {@link filterMap} for transforming while filtering
|
|
7174
7434
|
*
|
|
7435
|
+
* @stability stable
|
|
7175
7436
|
* @category filtering
|
|
7176
7437
|
* @since 2.0.0
|
|
7177
7438
|
*/
|
|
@@ -7200,6 +7461,7 @@ export declare const filter: {
|
|
|
7200
7461
|
* @see {@link partition} — split into matching and non-matching
|
|
7201
7462
|
* @see {@link filterMap} for transforming while filtering
|
|
7202
7463
|
*
|
|
7464
|
+
* @stability stable
|
|
7203
7465
|
* @category filtering
|
|
7204
7466
|
* @since 2.0.0
|
|
7205
7467
|
*/
|
|
@@ -7228,6 +7490,7 @@ export declare const filter: {
|
|
|
7228
7490
|
* @see {@link partition} — split into matching and non-matching
|
|
7229
7491
|
* @see {@link filterMap} for transforming while filtering
|
|
7230
7492
|
*
|
|
7493
|
+
* @stability stable
|
|
7231
7494
|
* @category filtering
|
|
7232
7495
|
* @since 2.0.0
|
|
7233
7496
|
*/
|
|
@@ -7259,6 +7522,7 @@ export declare const filter: {
|
|
|
7259
7522
|
* @see {@link filterMap} for discarding failures
|
|
7260
7523
|
* @see {@link separate} — split an iterable of `Result` values
|
|
7261
7524
|
*
|
|
7525
|
+
* @stability stable
|
|
7262
7526
|
* @category filtering
|
|
7263
7527
|
* @since 2.0.0
|
|
7264
7528
|
*/
|
|
@@ -7289,6 +7553,7 @@ export declare const partition: {
|
|
|
7289
7553
|
* @see {@link filterMap} for discarding failures
|
|
7290
7554
|
* @see {@link separate} — split an iterable of `Result` values
|
|
7291
7555
|
*
|
|
7556
|
+
* @stability stable
|
|
7292
7557
|
* @category filtering
|
|
7293
7558
|
* @since 2.0.0
|
|
7294
7559
|
*/
|
|
@@ -7319,6 +7584,7 @@ export declare const partition: {
|
|
|
7319
7584
|
* @see {@link filterMap} for discarding failures
|
|
7320
7585
|
* @see {@link separate} — split an iterable of `Result` values
|
|
7321
7586
|
*
|
|
7587
|
+
* @stability stable
|
|
7322
7588
|
* @category filtering
|
|
7323
7589
|
* @since 2.0.0
|
|
7324
7590
|
*/
|
|
@@ -7348,6 +7614,7 @@ export declare const partition: {
|
|
|
7348
7614
|
* @see {@link getSuccesses} — extract only successes
|
|
7349
7615
|
* @see {@link partition} for computing `Result` values while splitting
|
|
7350
7616
|
*
|
|
7617
|
+
* @stability stable
|
|
7351
7618
|
* @category filtering
|
|
7352
7619
|
* @since 2.0.0
|
|
7353
7620
|
*/
|
|
@@ -7377,6 +7644,7 @@ export declare const separate: <T extends Iterable<Result.Result<any, any>>>(sel
|
|
|
7377
7644
|
* @see {@link reduceRight} — fold from right to left
|
|
7378
7645
|
* @see {@link scan} — fold keeping intermediate values
|
|
7379
7646
|
*
|
|
7647
|
+
* @stability stable
|
|
7380
7648
|
* @category folding
|
|
7381
7649
|
* @since 2.0.0
|
|
7382
7650
|
*/
|
|
@@ -7403,6 +7671,7 @@ export declare const reduce: {
|
|
|
7403
7671
|
* @see {@link reduceRight} — fold from right to left
|
|
7404
7672
|
* @see {@link scan} — fold keeping intermediate values
|
|
7405
7673
|
*
|
|
7674
|
+
* @stability stable
|
|
7406
7675
|
* @category folding
|
|
7407
7676
|
* @since 2.0.0
|
|
7408
7677
|
*/
|
|
@@ -7429,6 +7698,7 @@ export declare const reduce: {
|
|
|
7429
7698
|
* @see {@link reduceRight} — fold from right to left
|
|
7430
7699
|
* @see {@link scan} — fold keeping intermediate values
|
|
7431
7700
|
*
|
|
7701
|
+
* @stability stable
|
|
7432
7702
|
* @category folding
|
|
7433
7703
|
* @since 2.0.0
|
|
7434
7704
|
*/
|
|
@@ -7456,6 +7726,7 @@ export declare const reduce: {
|
|
|
7456
7726
|
* @see {@link reduce} — fold from left to right
|
|
7457
7727
|
* @see {@link scanRight} — fold keeping intermediate values
|
|
7458
7728
|
*
|
|
7729
|
+
* @stability stable
|
|
7459
7730
|
* @category folding
|
|
7460
7731
|
* @since 2.0.0
|
|
7461
7732
|
*/
|
|
@@ -7482,6 +7753,7 @@ export declare const reduceRight: {
|
|
|
7482
7753
|
* @see {@link reduce} — fold from left to right
|
|
7483
7754
|
* @see {@link scanRight} — fold keeping intermediate values
|
|
7484
7755
|
*
|
|
7756
|
+
* @stability stable
|
|
7485
7757
|
* @category folding
|
|
7486
7758
|
* @since 2.0.0
|
|
7487
7759
|
*/
|
|
@@ -7508,6 +7780,7 @@ export declare const reduceRight: {
|
|
|
7508
7780
|
* @see {@link reduce} — fold from left to right
|
|
7509
7781
|
* @see {@link scanRight} — fold keeping intermediate values
|
|
7510
7782
|
*
|
|
7783
|
+
* @stability stable
|
|
7511
7784
|
* @category folding
|
|
7512
7785
|
* @since 2.0.0
|
|
7513
7786
|
*/
|
|
@@ -7530,6 +7803,7 @@ export declare const reduceRight: {
|
|
|
7530
7803
|
*
|
|
7531
7804
|
* @see {@link liftOption} — lift an Option-returning function
|
|
7532
7805
|
*
|
|
7806
|
+
* @stability stable
|
|
7533
7807
|
* @category lifting
|
|
7534
7808
|
* @since 2.0.0
|
|
7535
7809
|
*/
|
|
@@ -7552,6 +7826,7 @@ export declare const liftPredicate: {
|
|
|
7552
7826
|
*
|
|
7553
7827
|
* @see {@link liftOption} — lift an Option-returning function
|
|
7554
7828
|
*
|
|
7829
|
+
* @stability stable
|
|
7555
7830
|
* @category lifting
|
|
7556
7831
|
* @since 2.0.0
|
|
7557
7832
|
*/
|
|
@@ -7583,6 +7858,7 @@ export declare const liftPredicate: {
|
|
|
7583
7858
|
* @see {@link liftPredicate} — lift a boolean predicate
|
|
7584
7859
|
* @see {@link liftResult} — lift a Result-returning function
|
|
7585
7860
|
*
|
|
7861
|
+
* @stability stable
|
|
7586
7862
|
* @category lifting
|
|
7587
7863
|
* @since 2.0.0
|
|
7588
7864
|
*/
|
|
@@ -7608,6 +7884,7 @@ export declare const liftOption: <A extends Array<unknown>, B>(f: (...a: A) => O
|
|
|
7608
7884
|
* @see {@link liftNullishOr} — lift a nullable-returning function
|
|
7609
7885
|
* @see {@link fromOption} — convert from Option
|
|
7610
7886
|
*
|
|
7887
|
+
* @stability stable
|
|
7611
7888
|
* @category converting
|
|
7612
7889
|
* @since 4.0.0
|
|
7613
7890
|
*/
|
|
@@ -7633,6 +7910,7 @@ export declare const fromNullishOr: <A>(a: A) => Array<NonNullable<A>>;
|
|
|
7633
7910
|
* @see {@link fromNullishOr} — convert a single nullable value
|
|
7634
7911
|
* @see {@link liftOption} — lift an Option-returning function
|
|
7635
7912
|
*
|
|
7913
|
+
* @stability stable
|
|
7636
7914
|
* @category lifting
|
|
7637
7915
|
* @since 4.0.0
|
|
7638
7916
|
*/
|
|
@@ -7657,6 +7935,7 @@ export declare const liftNullishOr: <A extends Array<unknown>, B>(f: (...a: A) =
|
|
|
7657
7935
|
* @see {@link flatMap} for mapping each element to an array and flattening
|
|
7658
7936
|
* @see {@link fromNullishOr} for converting a single nullable value to an array
|
|
7659
7937
|
*
|
|
7938
|
+
* @stability stable
|
|
7660
7939
|
* @category sequencing
|
|
7661
7940
|
* @since 4.0.0
|
|
7662
7941
|
*/
|
|
@@ -7681,6 +7960,7 @@ export declare const flatMapNullishOr: {
|
|
|
7681
7960
|
* @see {@link flatMap} for mapping each element to an array and flattening
|
|
7682
7961
|
* @see {@link fromNullishOr} for converting a single nullable value to an array
|
|
7683
7962
|
*
|
|
7963
|
+
* @stability stable
|
|
7684
7964
|
* @category sequencing
|
|
7685
7965
|
* @since 4.0.0
|
|
7686
7966
|
*/
|
|
@@ -7705,6 +7985,7 @@ export declare const flatMapNullishOr: {
|
|
|
7705
7985
|
* @see {@link flatMap} for mapping each element to an array and flattening
|
|
7706
7986
|
* @see {@link fromNullishOr} for converting a single nullable value to an array
|
|
7707
7987
|
*
|
|
7988
|
+
* @stability stable
|
|
7708
7989
|
* @category sequencing
|
|
7709
7990
|
* @since 4.0.0
|
|
7710
7991
|
*/
|
|
@@ -7738,6 +8019,7 @@ export declare const flatMapNullishOr: {
|
|
|
7738
8019
|
* @see {@link liftOption} — lift an Option-returning function
|
|
7739
8020
|
* @see {@link liftPredicate} — lift a boolean predicate
|
|
7740
8021
|
*
|
|
8022
|
+
* @stability stable
|
|
7741
8023
|
* @category lifting
|
|
7742
8024
|
* @since 4.0.0
|
|
7743
8025
|
*/
|
|
@@ -7762,6 +8044,7 @@ export declare const liftResult: <A extends Array<unknown>, E, B>(f: (...a: A) =
|
|
|
7762
8044
|
*
|
|
7763
8045
|
* @see {@link some} — test if any element matches
|
|
7764
8046
|
*
|
|
8047
|
+
* @stability stable
|
|
7765
8048
|
* @category guards
|
|
7766
8049
|
* @since 2.0.0
|
|
7767
8050
|
*/
|
|
@@ -7786,6 +8069,7 @@ export declare const every: {
|
|
|
7786
8069
|
*
|
|
7787
8070
|
* @see {@link some} — test if any element matches
|
|
7788
8071
|
*
|
|
8072
|
+
* @stability stable
|
|
7789
8073
|
* @category guards
|
|
7790
8074
|
* @since 2.0.0
|
|
7791
8075
|
*/
|
|
@@ -7810,6 +8094,7 @@ export declare const every: {
|
|
|
7810
8094
|
*
|
|
7811
8095
|
* @see {@link some} — test if any element matches
|
|
7812
8096
|
*
|
|
8097
|
+
* @stability stable
|
|
7813
8098
|
* @category guards
|
|
7814
8099
|
* @since 2.0.0
|
|
7815
8100
|
*/
|
|
@@ -7834,6 +8119,7 @@ export declare const every: {
|
|
|
7834
8119
|
*
|
|
7835
8120
|
* @see {@link some} — test if any element matches
|
|
7836
8121
|
*
|
|
8122
|
+
* @stability stable
|
|
7837
8123
|
* @category guards
|
|
7838
8124
|
* @since 2.0.0
|
|
7839
8125
|
*/
|
|
@@ -7858,6 +8144,7 @@ export declare const every: {
|
|
|
7858
8144
|
*
|
|
7859
8145
|
* @see {@link some} — test if any element matches
|
|
7860
8146
|
*
|
|
8147
|
+
* @stability stable
|
|
7861
8148
|
* @category guards
|
|
7862
8149
|
* @since 2.0.0
|
|
7863
8150
|
*/
|
|
@@ -7879,6 +8166,7 @@ export declare const every: {
|
|
|
7879
8166
|
* @see {@link every} — test if all elements match
|
|
7880
8167
|
* @see {@link contains} — test for a specific value
|
|
7881
8168
|
*
|
|
8169
|
+
* @stability stable
|
|
7882
8170
|
* @category guards
|
|
7883
8171
|
* @since 2.0.0
|
|
7884
8172
|
*/
|
|
@@ -7899,6 +8187,7 @@ export declare const some: {
|
|
|
7899
8187
|
* @see {@link every} — test if all elements match
|
|
7900
8188
|
* @see {@link contains} — test for a specific value
|
|
7901
8189
|
*
|
|
8190
|
+
* @stability stable
|
|
7902
8191
|
* @category guards
|
|
7903
8192
|
* @since 2.0.0
|
|
7904
8193
|
*/
|
|
@@ -7919,6 +8208,7 @@ export declare const some: {
|
|
|
7919
8208
|
* @see {@link every} — test if all elements match
|
|
7920
8209
|
* @see {@link contains} — test for a specific value
|
|
7921
8210
|
*
|
|
8211
|
+
* @stability stable
|
|
7922
8212
|
* @category guards
|
|
7923
8213
|
* @since 2.0.0
|
|
7924
8214
|
*/
|
|
@@ -7947,6 +8237,7 @@ export declare const some: {
|
|
|
7947
8237
|
*
|
|
7948
8238
|
* @see {@link scan} for keeping intermediate accumulator values during a fold
|
|
7949
8239
|
*
|
|
8240
|
+
* @stability stable
|
|
7950
8241
|
* @category mapping
|
|
7951
8242
|
* @since 2.0.0
|
|
7952
8243
|
*/
|
|
@@ -7974,6 +8265,7 @@ export declare const extend: {
|
|
|
7974
8265
|
*
|
|
7975
8266
|
* @see {@link scan} for keeping intermediate accumulator values during a fold
|
|
7976
8267
|
*
|
|
8268
|
+
* @stability stable
|
|
7977
8269
|
* @category mapping
|
|
7978
8270
|
* @since 2.0.0
|
|
7979
8271
|
*/
|
|
@@ -8001,6 +8293,7 @@ export declare const extend: {
|
|
|
8001
8293
|
*
|
|
8002
8294
|
* @see {@link scan} for keeping intermediate accumulator values during a fold
|
|
8003
8295
|
*
|
|
8296
|
+
* @stability stable
|
|
8004
8297
|
* @category mapping
|
|
8005
8298
|
* @since 2.0.0
|
|
8006
8299
|
*/
|
|
@@ -8021,6 +8314,7 @@ export declare const extend: {
|
|
|
8021
8314
|
* @see {@link max} — find the maximum
|
|
8022
8315
|
* @see {@link sort} — sort the entire array
|
|
8023
8316
|
*
|
|
8317
|
+
* @stability stable
|
|
8024
8318
|
* @category getters
|
|
8025
8319
|
* @since 2.0.0
|
|
8026
8320
|
*/
|
|
@@ -8040,6 +8334,7 @@ export declare const min: {
|
|
|
8040
8334
|
* @see {@link max} — find the maximum
|
|
8041
8335
|
* @see {@link sort} — sort the entire array
|
|
8042
8336
|
*
|
|
8337
|
+
* @stability stable
|
|
8043
8338
|
* @category getters
|
|
8044
8339
|
* @since 2.0.0
|
|
8045
8340
|
*/
|
|
@@ -8059,6 +8354,7 @@ export declare const min: {
|
|
|
8059
8354
|
* @see {@link max} — find the maximum
|
|
8060
8355
|
* @see {@link sort} — sort the entire array
|
|
8061
8356
|
*
|
|
8357
|
+
* @stability stable
|
|
8062
8358
|
* @category getters
|
|
8063
8359
|
* @since 2.0.0
|
|
8064
8360
|
*/
|
|
@@ -8079,6 +8375,7 @@ export declare const min: {
|
|
|
8079
8375
|
* @see {@link min} — find the minimum
|
|
8080
8376
|
* @see {@link sort} — sort the entire array
|
|
8081
8377
|
*
|
|
8378
|
+
* @stability stable
|
|
8082
8379
|
* @category getters
|
|
8083
8380
|
* @since 2.0.0
|
|
8084
8381
|
*/
|
|
@@ -8098,6 +8395,7 @@ export declare const max: {
|
|
|
8098
8395
|
* @see {@link min} — find the minimum
|
|
8099
8396
|
* @see {@link sort} — sort the entire array
|
|
8100
8397
|
*
|
|
8398
|
+
* @stability stable
|
|
8101
8399
|
* @category getters
|
|
8102
8400
|
* @since 2.0.0
|
|
8103
8401
|
*/
|
|
@@ -8117,6 +8415,7 @@ export declare const max: {
|
|
|
8117
8415
|
* @see {@link min} — find the minimum
|
|
8118
8416
|
* @see {@link sort} — sort the entire array
|
|
8119
8417
|
*
|
|
8418
|
+
* @stability stable
|
|
8120
8419
|
* @category getters
|
|
8121
8420
|
* @since 2.0.0
|
|
8122
8421
|
*/
|
|
@@ -8138,6 +8437,7 @@ export declare const max: {
|
|
|
8138
8437
|
* @see {@link makeBy} — generate from index
|
|
8139
8438
|
* @see {@link range} — generate a numeric range
|
|
8140
8439
|
*
|
|
8440
|
+
* @stability stable
|
|
8141
8441
|
* @category constructors
|
|
8142
8442
|
* @since 2.0.0
|
|
8143
8443
|
*/
|
|
@@ -8159,6 +8459,7 @@ export declare const unfold: <B, A>(b: B, f: (b: B) => Option.Option<readonly [A
|
|
|
8159
8459
|
*
|
|
8160
8460
|
* @see {@link makeEquivalence} — create an equivalence for arrays
|
|
8161
8461
|
*
|
|
8462
|
+
* @stability stable
|
|
8162
8463
|
* @category instances
|
|
8163
8464
|
* @since 4.0.0
|
|
8164
8465
|
*/
|
|
@@ -8180,6 +8481,7 @@ export declare const makeOrder: <A>(O: Order.Order<A>) => Order.Order<ReadonlyAr
|
|
|
8180
8481
|
*
|
|
8181
8482
|
* @see {@link makeOrder} — create an ordering for arrays
|
|
8182
8483
|
*
|
|
8484
|
+
* @stability stable
|
|
8183
8485
|
* @category instances
|
|
8184
8486
|
* @since 4.0.0
|
|
8185
8487
|
*/
|
|
@@ -8205,6 +8507,7 @@ export declare const makeEquivalence: <A>(isEquivalent: Equivalence.Equivalence<
|
|
|
8205
8507
|
*
|
|
8206
8508
|
* @see {@link map} for transforming each element into a new array
|
|
8207
8509
|
*
|
|
8510
|
+
* @stability stable
|
|
8208
8511
|
* @category traversing
|
|
8209
8512
|
* @since 2.0.0
|
|
8210
8513
|
*/
|
|
@@ -8230,6 +8533,7 @@ export declare const forEach: {
|
|
|
8230
8533
|
*
|
|
8231
8534
|
* @see {@link map} for transforming each element into a new array
|
|
8232
8535
|
*
|
|
8536
|
+
* @stability stable
|
|
8233
8537
|
* @category traversing
|
|
8234
8538
|
* @since 2.0.0
|
|
8235
8539
|
*/
|
|
@@ -8255,6 +8559,7 @@ export declare const forEach: {
|
|
|
8255
8559
|
*
|
|
8256
8560
|
* @see {@link map} for transforming each element into a new array
|
|
8257
8561
|
*
|
|
8562
|
+
* @stability stable
|
|
8258
8563
|
* @category traversing
|
|
8259
8564
|
* @since 2.0.0
|
|
8260
8565
|
*/
|
|
@@ -8280,6 +8585,7 @@ export declare const forEach: {
|
|
|
8280
8585
|
* @see {@link dedupe} — uses default equality
|
|
8281
8586
|
* @see {@link dedupeAdjacentWith} — only dedupes consecutive elements
|
|
8282
8587
|
*
|
|
8588
|
+
* @stability stable
|
|
8283
8589
|
* @category deduplication
|
|
8284
8590
|
* @since 2.0.0
|
|
8285
8591
|
*/
|
|
@@ -8304,6 +8610,7 @@ export declare const dedupeWith: {
|
|
|
8304
8610
|
* @see {@link dedupe} — uses default equality
|
|
8305
8611
|
* @see {@link dedupeAdjacentWith} — only dedupes consecutive elements
|
|
8306
8612
|
*
|
|
8613
|
+
* @stability stable
|
|
8307
8614
|
* @category deduplication
|
|
8308
8615
|
* @since 2.0.0
|
|
8309
8616
|
*/
|
|
@@ -8328,6 +8635,7 @@ export declare const dedupeWith: {
|
|
|
8328
8635
|
* @see {@link dedupe} — uses default equality
|
|
8329
8636
|
* @see {@link dedupeAdjacentWith} — only dedupes consecutive elements
|
|
8330
8637
|
*
|
|
8638
|
+
* @stability stable
|
|
8331
8639
|
* @category deduplication
|
|
8332
8640
|
* @since 2.0.0
|
|
8333
8641
|
*/
|
|
@@ -8352,6 +8660,7 @@ export declare const dedupeWith: {
|
|
|
8352
8660
|
* @see {@link dedupe} — uses default equality
|
|
8353
8661
|
* @see {@link dedupeAdjacentWith} — only dedupes consecutive elements
|
|
8354
8662
|
*
|
|
8663
|
+
* @stability stable
|
|
8355
8664
|
* @category deduplication
|
|
8356
8665
|
* @since 2.0.0
|
|
8357
8666
|
*/
|
|
@@ -8377,6 +8686,7 @@ export declare const dedupeWith: {
|
|
|
8377
8686
|
* @see {@link dedupeWith} — use custom equality
|
|
8378
8687
|
* @see {@link dedupeAdjacent} — only dedupes consecutive elements
|
|
8379
8688
|
*
|
|
8689
|
+
* @stability stable
|
|
8380
8690
|
* @category deduplication
|
|
8381
8691
|
* @since 2.0.0
|
|
8382
8692
|
*/
|
|
@@ -8405,6 +8715,7 @@ export declare const dedupe: <S extends Iterable<any>>(self: S) => S extends Non
|
|
|
8405
8715
|
* @see {@link dedupeAdjacent} — uses default equality
|
|
8406
8716
|
* @see {@link dedupeWith} — dedupes all duplicates, not just adjacent
|
|
8407
8717
|
*
|
|
8718
|
+
* @stability stable
|
|
8408
8719
|
* @category deduplication
|
|
8409
8720
|
* @since 2.0.0
|
|
8410
8721
|
*/
|
|
@@ -8433,6 +8744,7 @@ export declare const dedupeAdjacentWith: {
|
|
|
8433
8744
|
* @see {@link dedupeAdjacent} — uses default equality
|
|
8434
8745
|
* @see {@link dedupeWith} — dedupes all duplicates, not just adjacent
|
|
8435
8746
|
*
|
|
8747
|
+
* @stability stable
|
|
8436
8748
|
* @category deduplication
|
|
8437
8749
|
* @since 2.0.0
|
|
8438
8750
|
*/
|
|
@@ -8461,6 +8773,7 @@ export declare const dedupeAdjacentWith: {
|
|
|
8461
8773
|
* @see {@link dedupeAdjacent} — uses default equality
|
|
8462
8774
|
* @see {@link dedupeWith} — dedupes all duplicates, not just adjacent
|
|
8463
8775
|
*
|
|
8776
|
+
* @stability stable
|
|
8464
8777
|
* @category deduplication
|
|
8465
8778
|
* @since 2.0.0
|
|
8466
8779
|
*/
|
|
@@ -8485,6 +8798,7 @@ export declare const dedupeAdjacentWith: {
|
|
|
8485
8798
|
* @see {@link dedupeAdjacentWith} — use custom equality
|
|
8486
8799
|
* @see {@link dedupe} — remove all duplicates
|
|
8487
8800
|
*
|
|
8801
|
+
* @stability stable
|
|
8488
8802
|
* @category deduplication
|
|
8489
8803
|
* @since 2.0.0
|
|
8490
8804
|
*/
|
|
@@ -8502,6 +8816,7 @@ export declare const dedupeAdjacent: <A>(self: Iterable<A>) => Array<A>;
|
|
|
8502
8816
|
*
|
|
8503
8817
|
* @see {@link intersperse} — insert separator elements without joining
|
|
8504
8818
|
*
|
|
8819
|
+
* @stability stable
|
|
8505
8820
|
* @category folding
|
|
8506
8821
|
* @since 2.0.0
|
|
8507
8822
|
*/
|
|
@@ -8519,6 +8834,7 @@ export declare const join: {
|
|
|
8519
8834
|
*
|
|
8520
8835
|
* @see {@link intersperse} — insert separator elements without joining
|
|
8521
8836
|
*
|
|
8837
|
+
* @stability stable
|
|
8522
8838
|
* @category folding
|
|
8523
8839
|
* @since 2.0.0
|
|
8524
8840
|
*/
|
|
@@ -8536,6 +8852,7 @@ export declare const join: {
|
|
|
8536
8852
|
*
|
|
8537
8853
|
* @see {@link intersperse} — insert separator elements without joining
|
|
8538
8854
|
*
|
|
8855
|
+
* @stability stable
|
|
8539
8856
|
* @category folding
|
|
8540
8857
|
* @since 2.0.0
|
|
8541
8858
|
*/
|
|
@@ -8567,6 +8884,7 @@ export declare const join: {
|
|
|
8567
8884
|
* @see {@link scan} — when you only need the accumulated results (not the final state)
|
|
8568
8885
|
* @see {@link reduce} — when you only need the final accumulated value
|
|
8569
8886
|
*
|
|
8887
|
+
* @stability stable
|
|
8570
8888
|
* @category folding
|
|
8571
8889
|
* @since 2.0.0
|
|
8572
8890
|
*/
|
|
@@ -8597,6 +8915,7 @@ export declare const mapAccum: {
|
|
|
8597
8915
|
* @see {@link scan} — when you only need the accumulated results (not the final state)
|
|
8598
8916
|
* @see {@link reduce} — when you only need the final accumulated value
|
|
8599
8917
|
*
|
|
8918
|
+
* @stability stable
|
|
8600
8919
|
* @category folding
|
|
8601
8920
|
* @since 2.0.0
|
|
8602
8921
|
*/
|
|
@@ -8627,6 +8946,7 @@ export declare const mapAccum: {
|
|
|
8627
8946
|
* @see {@link scan} — when you only need the accumulated results (not the final state)
|
|
8628
8947
|
* @see {@link reduce} — when you only need the final accumulated value
|
|
8629
8948
|
*
|
|
8949
|
+
* @stability stable
|
|
8630
8950
|
* @category folding
|
|
8631
8951
|
* @since 2.0.0
|
|
8632
8952
|
*/
|
|
@@ -8656,6 +8976,7 @@ export declare const mapAccum: {
|
|
|
8656
8976
|
*
|
|
8657
8977
|
* @see {@link cartesian} for returning tuples instead of applying a combiner
|
|
8658
8978
|
*
|
|
8979
|
+
* @stability stable
|
|
8659
8980
|
* @category combining
|
|
8660
8981
|
* @since 2.0.0
|
|
8661
8982
|
*/
|
|
@@ -8684,6 +9005,7 @@ export declare const cartesianWith: {
|
|
|
8684
9005
|
*
|
|
8685
9006
|
* @see {@link cartesian} for returning tuples instead of applying a combiner
|
|
8686
9007
|
*
|
|
9008
|
+
* @stability stable
|
|
8687
9009
|
* @category combining
|
|
8688
9010
|
* @since 2.0.0
|
|
8689
9011
|
*/
|
|
@@ -8712,6 +9034,7 @@ export declare const cartesianWith: {
|
|
|
8712
9034
|
*
|
|
8713
9035
|
* @see {@link cartesian} for returning tuples instead of applying a combiner
|
|
8714
9036
|
*
|
|
9037
|
+
* @stability stable
|
|
8715
9038
|
* @category combining
|
|
8716
9039
|
* @since 2.0.0
|
|
8717
9040
|
*/
|
|
@@ -8739,6 +9062,7 @@ export declare const cartesianWith: {
|
|
|
8739
9062
|
*
|
|
8740
9063
|
* @see {@link cartesianWith} — apply a combiner to each pair
|
|
8741
9064
|
*
|
|
9065
|
+
* @stability stable
|
|
8742
9066
|
* @category combining
|
|
8743
9067
|
* @since 2.0.0
|
|
8744
9068
|
*/
|
|
@@ -8765,6 +9089,7 @@ export declare const cartesian: {
|
|
|
8765
9089
|
*
|
|
8766
9090
|
* @see {@link cartesianWith} — apply a combiner to each pair
|
|
8767
9091
|
*
|
|
9092
|
+
* @stability stable
|
|
8768
9093
|
* @category combining
|
|
8769
9094
|
* @since 2.0.0
|
|
8770
9095
|
*/
|
|
@@ -8791,6 +9116,7 @@ export declare const cartesian: {
|
|
|
8791
9116
|
*
|
|
8792
9117
|
* @see {@link cartesianWith} — apply a combiner to each pair
|
|
8793
9118
|
*
|
|
9119
|
+
* @stability stable
|
|
8794
9120
|
* @category combining
|
|
8795
9121
|
* @since 2.0.0
|
|
8796
9122
|
*/
|
|
@@ -8828,6 +9154,7 @@ export declare const cartesian: {
|
|
|
8828
9154
|
* @see {@link bindTo} — start a pipeline by naming the first array
|
|
8829
9155
|
* @see {@link let_ let} — introduce a plain computed value
|
|
8830
9156
|
*
|
|
9157
|
+
* @stability stable
|
|
8831
9158
|
* @category constructors
|
|
8832
9159
|
* @since 3.2.0
|
|
8833
9160
|
*/
|
|
@@ -8862,6 +9189,7 @@ export declare const Do: ReadonlyArray<{}>;
|
|
|
8862
9189
|
* @see {@link bindTo} — name the first array in a pipeline
|
|
8863
9190
|
* @see {@link let_ let} — add a plain computed value
|
|
8864
9191
|
*
|
|
9192
|
+
* @stability stable
|
|
8865
9193
|
* @category sequencing
|
|
8866
9194
|
* @since 3.2.0
|
|
8867
9195
|
*/
|
|
@@ -8896,6 +9224,7 @@ export declare const bind: {
|
|
|
8896
9224
|
* @see {@link bindTo} — name the first array in a pipeline
|
|
8897
9225
|
* @see {@link let_ let} — add a plain computed value
|
|
8898
9226
|
*
|
|
9227
|
+
* @stability stable
|
|
8899
9228
|
* @category sequencing
|
|
8900
9229
|
* @since 3.2.0
|
|
8901
9230
|
*/
|
|
@@ -8932,6 +9261,7 @@ export declare const bind: {
|
|
|
8932
9261
|
* @see {@link bindTo} — name the first array in a pipeline
|
|
8933
9262
|
* @see {@link let_ let} — add a plain computed value
|
|
8934
9263
|
*
|
|
9264
|
+
* @stability stable
|
|
8935
9265
|
* @category sequencing
|
|
8936
9266
|
* @since 3.2.0
|
|
8937
9267
|
*/
|
|
@@ -8963,6 +9293,7 @@ export declare const bind: {
|
|
|
8963
9293
|
* @see {@link Do} — start with an empty scope
|
|
8964
9294
|
* @see {@link bind} — add another array variable to the scope
|
|
8965
9295
|
*
|
|
9296
|
+
* @stability stable
|
|
8966
9297
|
* @category mapping
|
|
8967
9298
|
* @since 3.2.0
|
|
8968
9299
|
*/
|
|
@@ -8991,6 +9322,7 @@ export declare const bindTo: {
|
|
|
8991
9322
|
* @see {@link Do} — start with an empty scope
|
|
8992
9323
|
* @see {@link bind} — add another array variable to the scope
|
|
8993
9324
|
*
|
|
9325
|
+
* @stability stable
|
|
8994
9326
|
* @category mapping
|
|
8995
9327
|
* @since 3.2.0
|
|
8996
9328
|
*/
|
|
@@ -9021,6 +9353,7 @@ export declare const bindTo: {
|
|
|
9021
9353
|
* @see {@link Do} — start with an empty scope
|
|
9022
9354
|
* @see {@link bind} — add another array variable to the scope
|
|
9023
9355
|
*
|
|
9356
|
+
* @stability stable
|
|
9024
9357
|
* @category mapping
|
|
9025
9358
|
* @since 3.2.0
|
|
9026
9359
|
*/
|
|
@@ -9066,6 +9399,7 @@ export {
|
|
|
9066
9399
|
* @see {@link Do} — start a do-notation pipeline
|
|
9067
9400
|
* @see {@link bind} — introduce an array variable (produces cartesian product)
|
|
9068
9401
|
*
|
|
9402
|
+
* @stability stable
|
|
9069
9403
|
* @category mapping
|
|
9070
9404
|
* @since 3.2.0
|
|
9071
9405
|
*/
|
|
@@ -9075,6 +9409,7 @@ let_ as let };
|
|
|
9075
9409
|
*
|
|
9076
9410
|
* @see {@link makeReducerConcat} — mutable `Array` variant
|
|
9077
9411
|
*
|
|
9412
|
+
* @stability stable
|
|
9078
9413
|
* @category folding
|
|
9079
9414
|
* @since 4.0.0
|
|
9080
9415
|
*/
|
|
@@ -9084,6 +9419,7 @@ export declare function getReadonlyReducerConcat<A>(): Reducer.Reducer<ReadonlyA
|
|
|
9084
9419
|
*
|
|
9085
9420
|
* @see {@link getReadonlyReducerConcat} — readonly variant
|
|
9086
9421
|
*
|
|
9422
|
+
* @stability stable
|
|
9087
9423
|
* @category folding
|
|
9088
9424
|
* @since 4.0.0
|
|
9089
9425
|
*/
|
|
@@ -9111,6 +9447,7 @@ export declare function makeReducerConcat<A>(): Reducer.Reducer<Array<A>>;
|
|
|
9111
9447
|
*
|
|
9112
9448
|
* @see {@link filter} — when you need the matching elements, not just the count
|
|
9113
9449
|
*
|
|
9450
|
+
* @stability stable
|
|
9114
9451
|
* @category folding
|
|
9115
9452
|
* @since 3.16.0
|
|
9116
9453
|
*/
|
|
@@ -9138,6 +9475,7 @@ export declare const countBy: {
|
|
|
9138
9475
|
*
|
|
9139
9476
|
* @see {@link filter} — when you need the matching elements, not just the count
|
|
9140
9477
|
*
|
|
9478
|
+
* @stability stable
|
|
9141
9479
|
* @category folding
|
|
9142
9480
|
* @since 3.16.0
|
|
9143
9481
|
*/
|
|
@@ -9165,6 +9503,7 @@ export declare const countBy: {
|
|
|
9165
9503
|
*
|
|
9166
9504
|
* @see {@link filter} — when you need the matching elements, not just the count
|
|
9167
9505
|
*
|
|
9506
|
+
* @stability stable
|
|
9168
9507
|
* @category folding
|
|
9169
9508
|
* @since 3.16.0
|
|
9170
9509
|
*/
|