@@ -1270,9 +1270,9 @@ WOQL.literal = function (val, type) {
1270
1270
} ;
1271
1271
1272
1272
/**
1273
- * Generates explicitly a JSON-LD string date literal from the input
1274
- * @param {string } date - any date string format YYYY-MM-DD
1275
- * @returns {object } - A JSON-LD literal
1273
+ * Generates explicitly a JSON-LD literal date from the imput
1274
+ * @param {string } date - any date format string ( YYYY-MM-DD)
1275
+ * @returns {object } - A JSON-LD literal date
1276
1276
* @example
1277
1277
* date("2022-10-02")
1278
1278
* //returns { "@type": "xsd:date", "@value": "2022-10-02" }
@@ -1282,9 +1282,9 @@ WOQL.date = function (date) {
1282
1282
} ;
1283
1283
1284
1284
/**
1285
- * Generates explicitly a JSON-LD string datetime literal from the input
1286
- * @param {string } date - any datetime string format YYYY-MM-DDThh-mm-ssZ
1287
- * @returns {object } - A JSON-LD literal
1285
+ * Generates explicitly a JSON-LD literal datetime from the imput
1286
+ * @param {string } datetime - any datetime format string ( YYYY-MM-DDThh-mm-ssZ)
1287
+ * @returns {object } - A JSON-LD literal datetime
1288
1288
* @example
1289
1289
* datetime("2022-10-19T14:17:12Z")
1290
1290
* //returns { "@type": "xsd:dateTime", "@value": "2022-10-19T14:17:12Z" }
@@ -1294,9 +1294,9 @@ WOQL.datetime = function (datetime) {
1294
1294
} ;
1295
1295
1296
1296
/**
1297
- * Generates explicitly a JSON-LD boolean literal from the input
1297
+ * Generates explicitly a JSON-LD literal boolean from the input
1298
1298
* @param {boolean } bool - true | false
1299
- * @returns {object } - A JSON-LD literal
1299
+ * @returns {object } - A JSON-LD literal boolean
1300
1300
* @example
1301
1301
* boolean(true)
1302
1302
* //returns { "@type": "xsd:boolean", "@value": true }
0 commit comments