- asSchema<TType extends string>(
value: AnyNonPromise,
config?: TypeCheckConfig,
): undefined | TType Returns undefined | TType
- asSchema<TType extends string>(
value: AnyNonPromise,
assert: StringOrAlertFunction<string>,
config?: TypeCheckConfig,
): TType