UNPKG

locutus

Version:

Locutus other languages' standard libraries to JavaScript for fun and educational purposes

8 lines (7 loc) 350 B
import type { PhpAssoc, PhpRuntimeValue } from '../_helpers/_phpTypes.ts'; type SplitValue = PhpRuntimeValue; type KeyedValues = PhpAssoc<SplitValue>; export declare function split(delimiter: string | boolean | null | undefined, string: string | KeyedValues | (() => SplitValue) | undefined): string[] | false | { 0: string; } | null; export {};