UNPKG

fhir

Version:

Library that assists in handling FHIR resources. Supports serialization between JSON and XML, validation and FhirPath evaluation.

12 lines (9 loc) 253 B
module.exports = { isArray: function(value) { if (Array.isArray) { return Array.isArray(value); } // fallback for older browsers like IE 8 return Object.prototype.toString.call( value ) === '[object Array]'; } };