Page Contents

Home > @loopback/repository-json-schema > stringTypeToWrapper

stringTypeToWrapper() function

Gets the wrapper function of primitives string, number, and boolean

Signature:

export declare function stringTypeToWrapper(type: string | Function): Function;

Parameters

Parameter Type Description
type string | Function Name of type

Returns:

Function