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

    Variable resolveRegExpSchema

    resolveRegExpSchema: (
        doEscape?: boolean,
    ) => ZodEffects<
        ZodEffects<ZodUnion<[ZodString, ZodRegExp]>, RegExp, string | RegExp>,
        RegExp,
        string | RegExp,
    >

    Type declaration

      • (
            doEscape?: boolean,
        ): ZodEffects<
            ZodEffects<ZodUnion<[ZodString, ZodRegExp]>, RegExp, string | RegExp>,
            RegExp,
            string | RegExp,
        >
      • Parameters

        • doEscape: boolean = true

        Returns ZodEffects<
            ZodEffects<ZodUnion<[ZodString, ZodRegExp]>, RegExp, string | RegExp>,
            RegExp,
            string | RegExp,
        >