@@ -1270,9 +1270,9 @@ WOQL.literal = function (val, type) {
12701270} ;
12711271
12721272/**
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
12761276 * @example
12771277 * date("2022-10-02")
12781278 * //returns { "@type": "xsd:date", "@value": "2022-10-02" }
@@ -1282,9 +1282,9 @@ WOQL.date = function (date) {
12821282} ;
12831283
12841284/**
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
12881288 * @example
12891289 * datetime("2022-10-19T14:17:12Z")
12901290 * //returns { "@type": "xsd:dateTime", "@value": "2022-10-19T14:17:12Z" }
@@ -1294,9 +1294,9 @@ WOQL.datetime = function (datetime) {
12941294} ;
12951295
12961296/**
1297- * Generates explicitly a JSON-LD boolean literal from the input
1297+ * Generates explicitly a JSON-LD literal boolean from the input
12981298 * @param {boolean } bool - true | false
1299- * @returns {object } - A JSON-LD literal
1299+ * @returns {object } - A JSON-LD literal boolean
13001300 * @example
13011301 * boolean(true)
13021302 * //returns { "@type": "xsd:boolean", "@value": true }
0 commit comments