Page Contents

Home > @loopback/repository > ArrayType

ArrayType class

Array type, such as string[]

Signature:

export declare class ArrayType<T> implements Type<T[]> 

Constructors

Constructor Modifiers Description
(constructor)(itemType)   Constructs a new instance of the ArrayType class

Properties

Property Modifiers Type Description
itemType   Type<T>  
name    

Methods

Method Modifiers Description
coerce(value)    
defaultValue()    
isCoercible(value)    
isInstance(value)    
serialize(value)