/**
 * Returns true if the given array contains at least 1 object
 */ export function arrayContainsObjects ( value ) { return Array . isArray ( value ) && value . some ( ( v ) => typeof v === 'object' && v !== null ) ; } /**
 * Removes markup added by OpenSearch Dashboards fields html formatter
 */ export function trimAngularSpan ( text ) { return text . replace ( /^<span ng-non-bindable>/ , '' ) . replace ( /<\/span>$/ , '' ) ; }