Constructors
new LiteralFieldType()
new LiteralFieldType(literal): LiteralFieldType
Parameters
Parameter | Type |
---|---|
literal | string | number | boolean |
Returns
Properties
literalStringPrefix
static literalStringPrefix: string = '%';
Methods
getLiteral()
getLiteral(): string | number | boolean
Returns
string
| number
| boolean
getScalarFieldType()
getScalarFieldType(): ScalarFieldTypeEnum
Returns
toJSON()
toJSON(): string
Returns
string