Package: effect
Module: Schema
Validates at runtime that a string ends with the specified literal suffix.
Details
RegExp metacharacters in the suffix are escaped in JSON Schema and arbitrary
metadata so that the generated patterns retain literal endsWith semantics.
Signature
declare const isEndsWith: (endsWith: string, annotations?: Annotations.Filter) => SchemaAST.Filter<string>
Since v4.0.0