Target object
Optional
errorFactory: ((props: TypeGuardError.IProps) => Error)Custom error factory. Default is TypeGuardError
Camel case object
Jeongho Nam - https://github.com/samchon
Converts to camel case with type assertion.
Convert every property names of nested objects to follow the camel case convention.
If the input value does not follow the type T
, it throws TypeGuardError.
Target object
Optional
errorFactory: ((props: TypeGuardError.IProps) => Error)Custom error factory. Default is TypeGuardError
Camel case object
Jeongho Nam - https://github.com/samchon
Converts to camel case with type assertion.
Convert every property names of nested objects to follow the camel case convention. If the input value does not follow the type
T
, it throws TypeGuardError.