Assert that a type is an object whose values are functions.
Object type with function-valued properties
Useful for validating method maps or API surfaces consisting exclusively of callable properties.
type A = AssertFunctionObject< { a(): void; b(): number } >; // ✓type B = AssertFunctionObject< { a: number } >; // ✗ TS error Copy
type A = AssertFunctionObject< { a(): void; b(): number } >; // ✓type B = AssertFunctionObject< { a: number } >; // ✗ TS error
Assert that a type is an object whose values are functions.