tools/core/predicates/placement.predicate.ts
tools/core/predicates/placement.predicate.ts is a file in Coordination Surface. 8 lines of code and 2 definitions.
import { lifetimeOf } from "../../../config/surface.config.ts";
export const isImmutable = function isImmutable(path: string): boolean {
const declared = lifetimeOf(path);
if (declared === null) {
return false;
}
return declared.mutability === "frozen" && declared.removal === "none";
};