Class: IOttomanType
Hierarchy
IOttomanType
↳
CoreType
Constructors
constructor
• Protected
new IOttomanType(name
, typeName
)
Parameters
Name | Type |
---|---|
name | string |
typeName | string |
Defined in
schema/interfaces/schema.types.ts:51
Properties
name
• name: string
Defined in
schema/interfaces/schema.types.ts:51
typeName
• typeName: string
Defined in
schema/interfaces/schema.types.ts:51
Methods
cast
▸ Abstract
cast(value
, strategy?
): unknown
Parameters
Name | Type |
---|---|
value | unknown |
strategy? | CAST_STRATEGY |
Returns
unknown
Defined in
schema/interfaces/schema.types.ts:52
validate
▸ Abstract
validate(value
, strict?
): unknown
Parameters
Name | Type |
---|---|
value | unknown |
strict? | boolean |
Returns
unknown