UNPKG

use-wizard

Version:

A dead-easy-to-use light-weight react hook to handle multi-paths wizards (and simple wizards too) and navigate into them.

12 lines (8 loc) 239 B
export {isTypeLinearS}; const isTypeLinearS = (input: unknown): input is string[] => { if(!Array.isArray(input)) return false; for(let element of input) { if(typeof element !== "string") return false; } return true; }