This function checks if a value is an ExpectItExecutor function
created by expect.it(). ExpectItExecutor
functions are special functions that contain assertion logic and are marked
with an internal symbol for identification. They are used in nested
assertions within "to satisfy" patterns and other complex assertion
scenarios.
true if the value is an ExpectItExecutor function, false
otherwise
Example
constexecutor=expect.it('to be a string'); if (isExpectItExecutor(executor)) { // executor is now typed as ExpectItExecutor // Can be used in satisfaction patterns }
Type guard for ExpectItExecutor functions.
This function checks if a value is an ExpectItExecutor function created by expect.it(). ExpectItExecutor functions are special functions that contain assertion logic and are marked with an internal symbol for identification. They are used in nested assertions within "to satisfy" patterns and other complex assertion scenarios.