Package: effect
Module: Schema
Validates that every own property key of an object satisfies the encoded side of the provided key schema.
Details
This check uses Reflect.ownKeys, so symbol keys are validated in addition to
string property names.
JSON Schema:
For string property names, this corresponds to the propertyNames constraint
in JSON Schema.
Signature
declare const isPropertyNames: (keySchema: Constraint, annotations?: Annotations.Filter) => SchemaAST.Filter<object>
Since v4.0.0