Updates the values of a array tree to values returned by a callback which takes the current value.
Returns a new string in which all occurrences of a substring are replaced with another string.
```js var copy = require('@kingjs/is'); ``` result: ```js ``` ## API ```ts declare function is( ): any ``` ### Parameters ### Returns ## Remarks ## Install With [npm](https://npmjs.org/) installed, run ``` $ npm install @kingjs/is ``` #
Given a string with the format of a template literal, expand its placeholders with the values corresponding to a descriptor's keys.
Defines a property on a target with a symbol name derived from `package` and `version`.
Wraps strings found in a descriptor's `value`, `get` or `set` into an appropriate corresponding lambda functions.
Renames a function.
The master readme template for the `kingjs` scope.
Extends `kingjs/reflect.define-property` with richer overloads.
Expands `README.t.md` into `README.md`.
Replaces a description of a function or accessor with a corresponding descriptor that delegates to the original descriptor and caches its result in a a corresponding property on `this`.
Add a precondition to an accessor or function descriptor which throws unless `this` at runtime is an `instanceof` a specific type.
Extends `Reflect.defineProperty` to allow richer descriptors which can include `callback`, `extends`, and `lazy` properties. And `lazy` can be modified by `writeOnce`, `argument`, and `static`.
Exports all `@kingjs/descriptor.nested.array.*` functionality in one package.
Generate a range of numbers.
Merges values at paths found in one tree into another tree.
Join lines in a string with a separator.
`IEnumerable` has a single member `getEnumerator`.
Exports all `@kingjs/descriptor.*` functionality in one package.
`IEnumerator` has members `current` and `moveNext`.
Generates the set difference of two sequences.
Updates the leafs of a tree to values returned by a callback which takes the current value. ## Usage Replace the name of the person followed with the object representing the person being followed like this: ```js var update = require('@kingjs/descriptor.n
Generates a sequence identical to another sequence after bypassing a specified number of elements.
Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value.