Skip to main content

undefined_()

undefined_(message?): UndefinedSchema

Undefined schema with 0 overhead after tsup + Terser build.

Usage identical to before:

  • undefined_()
  • undefined_("Custom error")

Parametersโ€‹

message?: stringโ€‹

Custom error message (optional).


Returns: UndefinedSchemaโ€‹

UndefinedSchema


Sinceโ€‹

2.0.0