UNPKG

@bemedev/decompose

Version:
8 lines 425 B
type Primitive = string | number | boolean | null | undefined; export declare function isPrimitive(arg: unknown): arg is Primitive; export declare const isArrayIndex: (segment: string) => boolean; export declare const parseIndex: (segment: string) => number; export declare const splitKey: (key: string) => string[]; export declare const nextDefault: (segment: string) => any; export {}; //# sourceMappingURL=helpers.d.ts.map