import * as check from "../../../sync/check/array"; export function isArray (mixed : any) : mixed is any[] { return check.checkArray(mixed) === undefined; } export function isMinLength (mixed : any, min : number) : mixed is any[] { return check.checkMinLength(mixed, min) === undefined; } export function isMaxLength (mixed : any, max : number) : mixed is any[] { return check.checkMaxLength(mixed, max) === undefined; } export function isLength (mixed : any, args : { min? : number, max? : number }) : mixed is any[] { return check.checkLength(mixed, args) === undefined; } export function isNonEmpty (mixed : any) : mixed is any[] { return check.checkNonEmpty(mixed) === undefined; } export function isContains (mixed : any, x : any) : mixed is any[] { return check.checkContains(mixed, x) === undefined; } export function isNoDuplicate (mixed : any) : mixed is any[] { return check.checkNoDuplicate(mixed) === undefined; }