@vitruvius-labs/ts-predicate
Version:
TypeScript predicates library
4 lines (3 loc) • 299 B
text/typescript
import type { ObjectWithNullableProperty } from "../definition/type/object-with-nullable-property.mjs";
declare function assertNullableProperty<O extends object, K extends string | symbol>(value: O, property: K): asserts value is ObjectWithNullableProperty<O, K>;
export { assertNullableProperty };