Page Contents

Home > @loopback/repository > ObjectType

ObjectType class

Object type

Signature:

export declare class ObjectType<T extends AnyObject> implements Type<T> 

Constructors

Constructor Modifiers Description
(constructor)(type)   Constructs a new instance of the ObjectType class

Properties

Property Modifiers Type Description
name   string  
type   Class<T>  

Methods

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