Hyperlinkv0.8.0-beta.28

Schema

Schema.makeFilterGroupfunctioneffect/Schema.ts:6513
<T>(
  checks: readonly [SchemaAST.Check<T>, ...Array<SchemaAST.Check<T>>],
  annotations?: Annotations.Filter | undefined
): SchemaAST.FilterGroup<T>

Groups multiple checks into a single SchemaAST.FilterGroup, applying optional shared annotations to the group as a whole.

Source effect/Schema.ts:65136 lines
export function makeFilterGroup<T>(
  checks: readonly [SchemaAST.Check<T>, ...Array<SchemaAST.Check<T>>],
  annotations: Annotations.Filter | undefined = undefined
): SchemaAST.FilterGroup<T> {
  return new SchemaAST.FilterGroup(checks, annotations)
}
Referenced by 1 symbols