Page Contents

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

isArrayType() function

Determines whether a given string or constructor is array type or not

Signature:

export declare function isArrayType(type: string | Function): boolean;

Parameters

Parameter Type Description
type string | Function Type as string or wrapper

Returns:

boolean