deno.land / x / rambda@v9.1.1 / source / anyType.js
1234567891011121314151617import { type } from './type.js'
export function anyType(targetType){ return (...inputs) => { let counter = 0
while (counter < inputs.length){ if (type(inputs[ counter ]) === targetType){ return true } counter++ }
return false }}
Version Info