Ensure that an object is an array. Moves error checking out of your code.
cabloy ensure array
Ensure runtime type safety and perform type coercion if needed.
Array-slice method. Slices `array` from the `start` index up to, but not including, the `end` index.
Array manipulation, ordering, searching, summarizing, etc.
A simple list of possible Typed Array names.
Which kind of Typed Array is this JavaScript value? Works cross-realm, without `instanceof`, and despite Symbol.toStringTag.
Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
Is this value a JS ArrayBuffer?
An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.
Robustly get the length of a Typed Array
Robustly get the byte offset of a Typed Array
Is this value a JS SharedArrayBuffer?
`Array.prototype.concat`, but made safe by ignoring Symbol.isConcatSpreadable
Robustly get the byte length of a Typed Array
Get the ArrayBuffer out of a TypedArray, robustly.
Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
General purpose glob-based configuration matching.
Parse postgres array columns
[](https://travis-ci.org/stefanpenner/ensure-posix-path) [](https://ci.appveyor.com/project/embe
Run an array of functions in parallel
Flatten nested arrays
TypeScript definitions for d3-array
Guarantees an array back
Ensures something is an array
Faraday Middleware to ensure certain keys are converted to arrays
An RSpec matcher that ensures expected is an array and each element is of specified type.
An RSpec matcher that ensures expected is an array and each element is of specified type.
All methods that alter the contents of an array that implements this Gem are first checked to ensure that the added items are of the types allowed. All methods behave exactly as their Array counterparts, including additional forms, block processing, etc.
An implementation of Array that permits chaining, where children inherit changes to parent and where parent settings can be overridden in children, and that retains sorted order, ensuring inserted values are unique.
An implementation of Array that permits chaining, where children inherit changes to parent and where parent settings can be overridden in children, and that retains sorted order, ensuring inserted values are unique.
Ruby/CArray is an extension library for the multi-dimensional numerical array class. The name "CArray" comes from the meaning of a wrapper to a numerical array handled by the C language. CArray stores integers or floating-point numbers in memory block and treats them collectively to ensure efficient performance. Therefore, Ruby/CArray is suitable for numerical computation and data analysis.
Features: Efficient Prime Number Identification: Utilizes optimized algorithms to quickly identify prime numbers within an array. Simple Integration: Easy to include in any Ruby project with straightforward usage. Flexible Input Handling: Supports arrays of varying sizes and integer values. Error Handling: Gracefully handles non-integer and negative values, ensuring robust performance.
All methods that alter the contents of an array that implements this Gem are first checked to ensure that the added items are of the types allowed. All methods behave exactly as their Array counterparts, including additional forms, block processing, etc. Defining a TypedArray Class: ```ruby class ThingsArray < Array extend TypedArray restrict_types Thing1, Thing2 end things = ThingsArray.new ``` Generating a single TypedArray ```ruby things = TypedArray(Thing1,Thing2).new These classes can be extended, and their accepted-types appended to after their initial definition.
An implementation of Array that permits chaining, where children inherit changes to parent and where parent settings can be overridden in children, and that retains sorted order, ensuring inserted values are unique.
An implementation of Array that permits chaining, where children inherit changes to parent and where parent settings can be overridden in children, and that retains sorted order, ensuring inserted values are unique.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.