json-logic-engine
Version:
Construct complex rules with JSON & process them.
20 lines (19 loc) • 513 B
TypeScript
/**
* Checks if an item is synchronous.
* This allows us to optimize the logic a bit
* further so that we don't need to await everything.
*
* @param {*} item
* @returns {Boolean}
*/
export function isSync(item: any): boolean;
export const Sync: unique symbol;
export const Compiled: unique symbol;
export const OriginalImpl: unique symbol;
export const Unfound: unique symbol;
declare namespace _default {
export { Sync };
export { OriginalImpl };
export { isSync };
}
export default _default;