UNPKG

freerasp-react-native

Version:

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

12 lines 436 B
import { RaspExecutionState } from '../models/raspExecutionState'; import { Threat } from '../models/threat'; export const getThreatCount = () => { return Threat.getValues().length; }; export const getRaspExecutionStateCount = () => { return RaspExecutionState.getValues().length; }; export const itemsHaveType = (data, desidedType) => { return data.every(item => typeof item === desidedType); }; //# sourceMappingURL=utils.js.map