DevExtreme jQuery - EdmLiteral Methods
This section describes methods that control an EdmLiteral instance.
ctor(value)
Creates an EdmLiteral instance with a new value.
Parameters:
value:
A value in a format the OData's Abstract Type System defines.
jQuery
JavaScript
var edmLiteral = new DevExpress.data.EdmLiteral("100000L");
Angular
TypeScript
import { EdmLiteral } from "devextreme/data/odata/utils"; // ... export class AppComponent { constructor() { let edmLiteral = new EdmLiteral("100000L"); } }
valueOf()
Gets the EdmLiteral's value converted to a string.
Return Value:
The value.
jQuery
JavaScript
var edmLiteral = new DevExpress.data.EdmLiteral("100000L"); console.log(edmLiteral.valueOf()); // logs 100000L
Angular
TypeScript
import { EdmLiteral } from "devextreme/data/odata/utils"; // ... export class AppComponent { constructor() { let edmLiteral = new EdmLiteral("100000L"); console.log(edmLiteral.valueOf()); // logs 100000L } }
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.