MCPcopy Index your code
hub / github.com/omkarcloud/botasaurus / createTask

Function createTask

js/botasaurus-server-js/src/models.ts:278–286  ·  view source on GitHub ↗
(x:any)

Source from the content-addressed store, hash-verified

276 }
277 }
278 const createTask = (x:any) => {
279 if (isNullish( x)) {
280 // @ts-ignore typing fix
281 return null as Task;
282 }
283
284
285 return new Task(x)
286 }
287 export { getAutoincrementId, createTask, db, Task, TaskStatus, removeDuplicatesByKey, calculateDuration, isoformat, serializeUiOutputTask, serializeUiDisplayTask, serializeTask, sortDictByKeys, initAutoIncrementDb };
288
289

Callers 3

getTaskMethod · 0.90
getTaskWithEntitiesMethod · 0.90
performCreateAllTaskFunction · 0.90

Calls 1

isNullishFunction · 0.90

Tested by

no test coverage detected