const { ms } = require('expresso-core')
import { ms } from 'expresso-core'
import { ms } from 'expresso-core'
const result = ms('1d')
console.log(result)
// output:
86400000
import { ms } from 'expresso-core'
const result = ms('5m')
console.log(result)
// output:
300000
import { isNumeric } from 'expresso-core'
const result = isNumeric('10')
console.log(result)
// output:
10
import { validateNumber } from 'expresso-core'
const result = validateNumber('10')
console.log(result)
// output:
10
// Wrong Value
const wrongResult = validateNumber(false)
console.log(result)
// output:
0
import { validateBoolean } from 'expresso-core'
const result = validateBoolean('true')
console.log(result)
// output:
true
// Wrong Result
const result = validateBoolean(null)
console.log(result)
// output:
false
import { validateEmpty } from 'expresso-core'
const result = validateEmpty('any value')
console.log(result)
// output:
'any value'
// Wrong Result
const result = validateEmpty(null)
console.log(result)
// output:
null