diff --git a/docs/classes/index.Basura.html b/docs/classes/index.Basura.html index 6023862..53d243a 100644 --- a/docs/classes/index.Basura.html +++ b/docs/classes/index.Basura.html @@ -1,5 +1,5 @@
Additional types. The key is the type name, the value is a function used to generate, or null to prevent that type from being generated.
-Private
#randStatic
annotationsPrivate
#randPrivate
#randStatic
annotationsPrivate
#randGenerate an Array of up to arrayLength size, with each element of the +
Generate an Array of up to arrayLength size, with each element of the
array being generated from the list of types this object currently
supports. Generates an empty array ([]
) if we're too deep already.
Optional
depth: number = 0How deep are we in the generated tree of objects already?
Generated array.
-Generate boxed Boolean.
+Generate a Buffer
of up
+
Generate a Buffer
of up
to stringLength size.
Optional
depth: number = 0How deep are we in the generated tree of objects already?
NodeJS Buffer.
-Generate a random Date, gaussian-distributed around today with a standard +
Generate a random Error. If an AggregateError is selected, fill it with +
Generate a generator that yields basura.
+Generate a random Map with up to arrayLength elements. If we are too +
Generate a random Map with up to arrayLength elements. If we are too deep already, will generate an empty Map. Each key and value will be of a random type currently supported by this object.
Optional
depth: number = 0How deep are we in the generated tree of objects already?
Generated Map.
-Generate boxed 64-bit floating point Number, with a 10% chance of something +
Generate a random object with up to arrayLength properties. Will generate +
Generate a rejected or resolved promise.
+Generate a Proxy over a random object. If we are already too deep, +
Generate a Proxy over a random object. If we are already too deep,
generates a Proxy around {}
.
Optional
depth: number = 0How deep are we in the generated tree of objects already?
Plain object in output mode, otherwise Proxy.
-Generate a regular expression of up to stringLength size, all from the same +
Generate a regular expression of up to stringLength size, all from the same random Unicode script. The first codepoint will not be a combining character.
Optional
depth: number = 0How deep are we in the generated tree of objects already?
Generated regexp.
-Generate a Set of random things, with length up to arrayLength, and each +
Generate a Set of random things, with length up to arrayLength, and each element being any one of the types this object currently supports. If we are already too deep, generates an empty set.
Optional
depth: number = 0How deep are we in the generated tree of objects already?
Generated Set.
-Generate a boxed String of up to stringLength size, all from the same +
Generate a boxed String of up to stringLength size, all from the same random Unicode script. The first codepoint will not be a combining character.
Optional
depth: number = 0How deep are we in the generated tree of objects already?
Wrapped new String().
-Generate one of the TypedArrays, ArrayBuffer, SharedArrayBuffer, or +
Generate one of the TypedArrays, ArrayBuffer, SharedArrayBuffer, or DataView of arrayLength elements. If we're too deep already, generate an array with length 0.
Optional
depth: number = 0How deep are we in the generated tree of objects already?
Generated TypedArray.
-Generate a URL object where each component can be up to stringLength +
Generate a URL object where each component can be up to stringLength size, and each component is all from the same random Unicode script. The top-level domain (TLD) name will be valid, and the preceding domain label will be from the same script as the TLD.
@@ -153,57 +153,57 @@Optional
depth: number = 0How deep are we in the generated tree of objects already?
Generated punycode URL.
-Generate a WeakMap containing 0 or more key/value pairs where the keys +
Generate a WeakMap containing 0 or more key/value pairs where the keys are valid weak items, and the values can be any valid type.
Optional
depth: number = 0How deep are we in the generated tree of objects already?
Generated.
-Generate a WeakSet containing 0 or more sub-items of any valid type.
+Generate a random BigInt of up to stringLength bytes.
+Generate boolean.
+Generate a function of a random "species". The current species list is +
Generate a function of a random "species". The current species list is
stored in this.functionSpecies. See tutorial for
more information. If we are already too deep, generates () => {}
.
Optional
depth: number = 0How deep are we in the generated tree of objects already?
Generated function.
-Generate signed 32-bit integer. +
Generate 64-bit floating point number, with a 10% chance of something +
Generate a string of up to stringLength size, all from the same random +
Generate a string of up to stringLength size, all from the same random Unicode script. The first codepoint will not be a combining character.
Optional
depth: number = 0How deep are we in the generated tree of objects already?
Optional
reason: string = 'string'Reason for generation, since this function is called by others.
Generated string.
-Generate a symbol from a random string. This will intern the Symbol +
Generate undefined.
+Static
quoteSymbols can't take a custom inspect function. They always output +
Static
quoteSymbols can't take a custom inspect function. They always output
Symbol(foo)
. This function tries to find all of those in a string,
and replace them with Symbol.for('foo')
, which will create a valid
symbol when parsed as JavaScript.
The string to modify.
The modified string.
-Generated using TypeDoc
Generated using TypeDoc
Create garbage javascript types for testing.
-