@virtualstate/examples
Version:
19 lines • 402 B
JavaScript
/**
* @internal
*/
export const Call = Symbol("Call");
/**
* @internal
*/
export const DefaultValue = Symbol("DefaultValue");
/**
* @internal
*/
export const Identity = Symbol("Identity");
export function isOptions(value) {
function isOptionsLike(value) {
return !!value;
}
return isOptionsLike(value) && typeof value[Call] === "function";
}
//# sourceMappingURL=domain.js.map