UNPKG

freerasp-react-native

Version:

React Native plugin for improving app security and threat monitoring on Android and iOS mobile devices.

10 lines (7 loc) 254 B
import { Threat } from './threat'; export const getThreatCount = (): number => { return Threat.getValues().length; }; export const itemsHaveType = (data: any[], desidedType: string) => { return data.every((item) => typeof item === desidedType); };