locutus
Version:
Locutus other languages' standard libraries to JavaScript for fun and educational purposes
6 lines (5 loc) • 412 B
TypeScript
import type { PhpAssoc, PhpRuntimeValue } from '../_helpers/_phpTypes.ts';
type SearchValue = PhpRuntimeValue;
export declare function array_search<TValue extends SearchValue>(needle: TValue | RegExp, haystack: PhpAssoc<TValue>, argStrict: true): string | false;
export declare function array_search(needle: SearchValue | RegExp, haystack: PhpAssoc<SearchValue>, argStrict?: boolean): string | false;
export {};