@snailicide/g-library
    Preparing search index...

    Variable getYArgs

    getYArgs: <Type extends ZodType<any, ZodTypeDef, any>>(
        schema: Type,
        debug?: boolean,
        _yargs?: string[],
    ) => undefined | TypeOf<Type>

    Type declaration

      • <Type extends ZodType<any, ZodTypeDef, any>>(
            schema: Type,
            debug?: boolean,
            _yargs?: string[],
        ): undefined | TypeOf<Type>
      • Type Parameters

        • Type extends ZodType<any, ZodTypeDef, any>

        Parameters

        • schema: Type
        • debug: boolean = false
        • _yargs: string[] = process.argv

        Returns undefined | TypeOf<Type>