utils.evalResultCheck.ts Maven / Gradle / Ivy
The newest version!
import isUndefined from 'lodash/isUndefined'
export const evalResultCheck = (evalResult: unknown) => !isUndefined(evalResult) && Boolean(evalResult)
import isUndefined from 'lodash/isUndefined'
export const evalResultCheck = (evalResult: unknown) => !isUndefined(evalResult) && Boolean(evalResult)