Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ParameterStructures

class ParameterStructures {
private constructor();
private readonly kind;
 
toString(): string;
 
static readonly auto: ParameterStructures;
static readonly byName: ParameterStructures;
static readonly byPosition: ParameterStructures;
 
static is(value: any): value is ParameterStructures;
}

§Constructors

§
new ParameterStructures() private
[src]

§Properties

§Methods

§
toString(): string
[src]

§Static Properties

§

The parameter structure is automatically inferred on the number of parameters and the parameter type in case of a single param.

§

Forces byName parameter structure. This is only useful when having a single parameter. The library will report errors if used with a different number of parameters.

§

Forces byPosition parameter structure. This is useful if you have a single parameter which has a literal type.

§Static Methods

§
is(value: any): value is ParameterStructures
[src]