UNPKG

rule-filter-validator

Version:

A object and scope validator based on structured rules

2 lines (1 loc) 61 B
export declare function toArray<T = any>(val: T | T[]): T[];