UNPKG
@redhare/lowcode-datasource-types
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.1
@redhare/lowcode-datasource-types
/
es
/
value-type.js
7 lines
•
230 B
JavaScript
View Raw
1
2
3
4
5
6
7
export
function
isJSExpression
(
data
) {
return
data && data.
type
===
'JSExpression'
; }
export
function
isJSFunction
(
x
) {
return
typeof
x ===
'object'
&& x && x.
type
===
'JSFunction'
; }
//# sourceMappingURL=value-type.js.map