Skip to content

Adds Validation For AyncFunction and Promise

Compare
Choose a tag to compare
@losandes losandes released this 25 May 04:25
f6774b2
  • Adds ability to check if is.asyncFunction, or is.promise, as well as
    validators for these.
  • Refactors is.getType so it will always return the lowered, printed
    type (i.e. an object that prints as [object Boolean] will return
    'boolean').
  • Adds optional Strict Type support for ValueOrError<T>.
  • Adds optional Strict Type to remaining interfaces: IBlueprint and
    IValidationContext.
  • Adds examples for all Strictly Typed interfaces