getTypedArrayType property

JSTypedArrayType get getTypedArrayType

Returns a JavaScript value's Typed Array type.iOS 10.0

Implementation

JSTypedArrayType get getTypedArrayType {
  JSException? exception = JSException.create(context);
  final int type = JSValueGetTypedArrayType(context.ref, _ref, exception.ref);
  if (exception.shouldThrow) throw exception.error;
  return JSTypedArrayType.values[type];
}