UNPKG

alinea

Version:
16 lines (14 loc) 312 B
import { type } from "../../chunks/chunk-WD7H5L2L.js"; import "../../chunks/chunk-NZLE2WMY.js"; // src/core/util/Checks.ts import { keys } from "./Objects.js"; function hasExact(allowed) { return type((value) => { return keys(value).every((key) => allowed.includes(key)); }); } export { hasExact };