Skip to main content
Module

x/mandarinets/main-core/utils/commonUtils.ts>CommonUtils

Mandarine.TS is a typescript, decorator-driven framework that allows you to create server-side applications. Mandarine.TS provides a range of built-in solutions such as Dependency Injection, Components, ORM and more. Under its umbrella, Mandarine.TS has 4 modules: Core, Data, Security and MVC, these modules will offer you the requirements to build a Mandarine-powered application.
Latest
class CommonUtils
import { CommonUtils } from "https://deno.land/x/mandarinets@v2.3.2/main-core/utils/commonUtils.ts";

Static Methods

arrayIdentical(arr1: Array<any>, arr2: Array<any>)
asyncIteratorToArray(iterator: any)
compareObjectKeys(a: object, b: object): boolean
fileDirExists(path: string): boolean
generateUUID(): string
getVariableReference(str: string, useEnvironmental?: boolean): Array<Mandarine.EnvironmentalReference>
isNumeric(num: any)
isObject(o: any): boolean
parseToKnownType(value: any)
readFile(filePath: string, decoderType?: string): any
sleep(seconds: number)