Skip to content

Interface: ChaiIncludeTerminal()

Defined in: fp-api.d.ts:324

include / contain — dual-role terminal: callable to check containment, or chained as .include.keys(...) for subset checks.

ChaiIncludeTerminal(value): void;

Defined in: fp-api.d.ts:326

Assert that target contains value (string substring, array member, or object subset).

ParameterType
valueunknown

void

keys(...names): void;

Defined in: fp-api.d.ts:328

Assert that target is an object containing at least the given keys.

ParameterType
…names(string | string[])[]

void