randex
Version:
Generates random filename, username, email, name, full name, etc for test purposes.
13 lines (12 loc) • 666 B
TypeScript
import { RandexCase, RandexAlphabet, RandexItemSet, RandexContentArrayOptions, RandexSet, RandexSingleSet, RandexNumberRange } from "../interfaces";
export declare class RandexTypeParser {
private static inRange;
private static inLiteral;
static inCase(value: string): value is RandexCase;
static inAlphabet(value: any): value is RandexAlphabet;
static inSet(value: string): value is RandexSingleSet;
static isLength(value: any): value is RandexNumberRange;
static isSetSingle(value: any): value is RandexItemSet;
static isSet(value: any): value is RandexSet;
static isPartArray(value: any): value is RandexContentArrayOptions;
}