mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-24 04:36:31 +00:00
5 lines
165 B
JavaScript
5 lines
165 B
JavaScript
|
import undef from "./temporalUndefined.js";
|
||
|
import err from "./tdz.js";
|
||
|
export default function _temporalRef(val, name) {
|
||
|
return val === undef ? err(name) : val;
|
||
|
}
|