Interface LazyStatic

Index

Call signatures

Methods

Call signatures

(value: string): LazyJS.StringLikeSequence

Parameters

  • value: string

Returns

LazyJS.StringLikeSequence

(value: Array<T>): LazyJS.ArrayLikeSequence<T>

Parameters

  • value: Array<T>

Returns

LazyJS.ArrayLikeSequence<T>

(value: Array<any>): LazyJS.ArrayLikeSequence<any>

Parameters

  • value: Array<any>

Returns

LazyJS.ArrayLikeSequence<any>

(value: Object): LazyJS.ObjectLikeSequence<T>

Parameters

  • value: Object

Returns

LazyJS.ObjectLikeSequence<T>

(value: Object): LazyJS.ObjectLikeSequence<any>

Parameters

  • value: Object

Returns

LazyJS.ObjectLikeSequence<any>

Methods

public generate(generatorFn: GeneratorCallback, length?: number): GeneratedSequence

Parameters

Returns

GeneratedSequence

public makeHttpRequest(path: string): LazyJS.StringLikeSequence

Parameters

  • path: string

Returns

LazyJS.StringLikeSequence

public on(eventType: string): LazyJS.Sequence<T>

Parameters

  • eventType: string

Returns

LazyJS.Sequence<T>

public range(to: number): GeneratedSequence

Parameters

  • to: number

Returns

GeneratedSequence

public range(from: number, to: number, step?: number): GeneratedSequence

Parameters

  • from: number
  • to: number
  • step?: number optional

Returns

GeneratedSequence

public readFile(path: string): LazyJS.StringLikeSequence

Parameters

  • path: string

Returns

LazyJS.StringLikeSequence

public repeat(value: T, count?: number): GeneratedSequence

Parameters

  • value: T
  • count?: number optional

Returns

GeneratedSequence

public strict(): LazyStatic

Returns

LazyStatic