locutus
Version:
Locutus other languages' standard libraries to JavaScript for fun and educational purposes
6 lines (5 loc) • 391 B
TypeScript
import type { PhpArrayLike, PhpRuntimeValue } from '../_helpers/_phpTypes.ts';
type InArrayValue = PhpRuntimeValue;
export declare function in_array<TNeedle extends InArrayValue>(needle: TNeedle, haystack: PhpArrayLike<TNeedle>, argStrict: true): boolean;
export declare function in_array(needle: InArrayValue, haystack: PhpArrayLike<InArrayValue>, argStrict?: boolean): boolean;
export {};